Browse Source

Add the \male, \female, etc. macros

develop
Damien Goutte-Gattat 8 years ago
parent
commit
5c24bf099f
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      flygenet.dtx

+ 7
- 0
flygenet.dtx View File

@ -121,6 +121,7 @@ has been generated for details.
% \end{macrocode}
%
% \begin{macrocode}
\RequirePackage{wasysym}
\def\fly@printchromosome#1/#2\end{%
\def\fly@argii{#2}%
\ifx\fly@argii\empty\mathit{#1}\else\frac{\mathit{#1}}{\mathit{#2}}\fi}
@ -145,6 +146,12 @@ has been generated for details.
\catcode`\:=\active\let:=\mcolon%
\fly@endgenotype}
\endgroup
\def\female{\venus\;\genotype}
\def\male{\mars\;\genotype}
\def\virgin{\mercury\;\genotype}
\def\females{\venus\venus\;\genotype}
\def\males{\mars\mars\;\genotype}
\def\virgins{\mercury\mercury\;\genotype}
% \end{macrocode}
%
% \Finale


Loading…
Cancel
Save