Debian Codegraph @

texmf-dist/doc/latex/dichokey/dichokey.tex

raw
1 \documentclass[DIV=8, pagesize=auto]{scrartcl}
2
3 \usepackage{fixltx2e}
4 \usepackage{etex}
5 \usepackage{lmodern}
6 \usepackage[T1]{fontenc}
7 \usepackage{textcomp}
8 \usepackage{microtype}
9 \usepackage{hyperref}
10
11 \newcommand*{\pkg}[1]{\textsf{#1}}
12 \newcommand*{\cs}[1]{\texttt{\textbackslash#1}}
13 \makeatletter
14 \newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}}
15 \makeatother
16 \newcommand*{\env}[1]{\texttt{#1}}
17 \newcommand*{\meta}[1]{\textlangle\textsl{#1}\textrangle}
18 \newcommand*{\marg}[1]{\texttt{\{}\meta{#1}\texttt{\}}}
19 \newcommand*{\oarg}[1]{\texttt{[}\meta{#1}\texttt{]}}
20
21 \addtokomafont{title}{\rmfamily}
22
23 \title{The \pkg{dichokey} package}
24 \author{Nico Dam}
25 \date{17 dec 1999}
26
27
28 \begin{document}
29
30 \maketitle
31
32 \noindent
33 This \LaTeXe\ style file defines the environment \env{Key} in which
34 dichotomous identification keys can be constructed.
35 Numbering of alternatives and indentation are taken of care of
36 automatically.
37 The key should be \emph{strictly} dichotomous.
38
39
40 \minisec{Directions for use:}
41
42 The key should be constructed within the environment \env{Key}. The
43 environment has one parameter, that is used as first part of the name
44 when a species is keyed out (usually an abbreviation of the genus
45 name).
46
47 Within the key, every alternative should begin with the command \cmd{\alter}.
48 If a species is keyed out, use the command \cmd{\name}\oarg{option}\marg{name}
49 (otherwise just continue with the next alternative).
50 The optional argument will be used instead of the parameter provided
51 on entering the environment \env{Key}.
52
53
54 \minisec{To do:}
55
56 provide example file (e.\,g.\ \texttt{rhodocyb.tex})
57
58 \end{document}
59