summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/dichokey/dichokey.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/dichokey/dichokey.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/dichokey/dichokey.tex')
-rw-r--r--macros/latex/contrib/dichokey/dichokey.tex59
1 files changed, 59 insertions, 0 deletions
diff --git a/macros/latex/contrib/dichokey/dichokey.tex b/macros/latex/contrib/dichokey/dichokey.tex
new file mode 100644
index 0000000000..38cce0eb8f
--- /dev/null
+++ b/macros/latex/contrib/dichokey/dichokey.tex
@@ -0,0 +1,59 @@
+\documentclass[DIV=8, pagesize=auto]{scrartcl}
+
+\usepackage{fixltx2e}
+\usepackage{etex}
+\usepackage{lmodern}
+\usepackage[T1]{fontenc}
+\usepackage{textcomp}
+\usepackage{microtype}
+\usepackage{hyperref}
+
+\newcommand*{\pkg}[1]{\textsf{#1}}
+\newcommand*{\cs}[1]{\texttt{\textbackslash#1}}
+\makeatletter
+\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}}
+\makeatother
+\newcommand*{\env}[1]{\texttt{#1}}
+\newcommand*{\meta}[1]{\textlangle\textsl{#1}\textrangle}
+\newcommand*{\marg}[1]{\texttt{\{}\meta{#1}\texttt{\}}}
+\newcommand*{\oarg}[1]{\texttt{[}\meta{#1}\texttt{]}}
+
+\addtokomafont{title}{\rmfamily}
+
+\title{The \pkg{dichokey} package}
+\author{Nico Dam}
+\date{17 dec 1999}
+
+
+\begin{document}
+
+\maketitle
+
+\noindent
+This \LaTeXe\ style file defines the environment \env{Key} in which
+dichotomous identification keys can be constructed.
+Numbering of alternatives and indentation are taken of care of
+automatically.
+The key should be \emph{strictly} dichotomous.
+
+
+\minisec{Directions for use:}
+
+The key should be constructed within the environment \env{Key}. The
+environment has one parameter, that is used as first part of the name
+when a species is keyed out (usually an abbreviation of the genus
+name).
+
+Within the key, every alternative should begin with the command \cmd{\alter}.
+If a species is keyed out, use the command \cmd{\name}\oarg{option}\marg{name}
+(otherwise just continue with the next alternative).
+The optional argument will be used instead of the parameter provided
+on entering the environment \env{Key}.
+
+
+\minisec{To do:}
+
+provide example file (e.\,g.\ \texttt{rhodocyb.tex})
+
+\end{document}
+