[XeTeX] genotype

Kamal Abdali k.abdali at acm.org
Sun Jan 1 23:32:08 CET 2012


Here's a suggestion:

\newcommand\gen[2]{ %genotype
$
\left( \mathop{{}_{\overline{\overline{#2}}}^{#1}}\right)
$
}

The double bar will be sized for the bottom symbol. So if the top symbol
has a different size, the result won't look nice.


On Sun, Jan 1, 2012 at 13:46, Jean-Louis Cordonnier <jlcord2 at wanadoo.fr>wrote:

> In order to write genetics, I need something like $\frac{A}{a}$ but with
> a double horizontal bar -- and left( and right)
> I tried this, but there is too much white around it.
>
> \newcommand\gen[2]{ %genotype
>
> $
>
> \left(
>
> \begin{array}{c} #1 \\
>
> \hline \hline #2\\
>
> \end{array}
>
> \right)
>
> $
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20120101/8df41962/attachment.html>


More information about the XeTeX mailing list