1 A short helper on how to use _acronyms_, _glossary entries_, and the _index_.
7 To `common/names.tex` add
10 \newacronym{ABC}{abc}{%
14 In text use `\ac{ABC}`. The first time, this expands to “a Better Crypto (ᴀʙᴄ)”, subsequently, to “ᴀʙᴄ”.
16 See below for more commands.
22 * typically abbreviated phrases
23 * that occur frequently
24 * and do not need further explanation (eg, HTTP)
25 * or are explained in text (eg, ECDH).
29 * phrases / words that are no acronyms
30 * or acronyms that need further explanation (which is _not_ given in text).
35 To `common/names.tex` add
38 \newglossaryentry{firewall}{%
40 description={technological barrier designed to prevent unauthorized or
41 unwanted communications between computer networks or hosts}
45 In text use `\gls{firewall}`. This produces a _link_ with the text “firewall” to the glossary and the description there.
47 See below for more commands.
53 * phrases / words that are no acronyms and need explanation (which is _not_ given in text)
54 * or acronyms that need further explanation (which is _not_ given in text).
58 * typically abbreviated phrases
59 * that occur frequently
60 * and do not need further explanation (eg, HTTP)
61 * or are explained in text (eg, ECDH).
64 > Every good book needs an index
69 To `common/names.tex` add
72 \doindex{Diffie--Hellman}
75 If you want to index acronyms or glossary entries, do so in their definition:
78 \newacronym{DH}{dh\alsoidx{Diffie--Hellman}}{%
79 Diffie--Hellman key exchange}
82 In text use `|Diffie--Hellman|` or `\idx{Diffie--Hellman}`. To get a literal “|“, use `\textbar` or `||`.
84 See below for more commands.
90 * important terms, definitions, concepts etc.,
96 * everyday words like “computer”
97 * or colloquial words like “crypto”.
105 Refer to “Acronyms” in [the glossaries documentation][glossaries].
109 * `\ac` — on first usage, same as `\acf`, else, same as `\acs`
\r* `\Ac` — on first usage, same as `\Acf`, else, same as `\Acs`
\r* `\acp` — on first usage, same as `\acfp`, else, same as `\acsp`
\r* `\Acp` — on first usage, same as `\Acfp`, else, same as `\Acsp`
113 * `\acs` — acronym short form “ᴀʙᴄ”
\r* `\Acs` — capitalized acronym short form “Aʙᴄ”
\r* `\acsp` — plural acronym short form “ᴀʙᴄs”
\r* `\Acsp` — capitalized plural acronym short form “Aʙᴄs”
\r* `\acl` — acronym long form “a Better Crypto”
\r* `\Acl` — capitalized acronym long form “A Better Crypto”
\r* `\aclp` — plural acronym long form “a Better Crypto” (_does not fit example_)
\r* `\Aclp` — capitalized plural acronym long form “A Better Crypto” (_does not fit example_)
\r* `\acf` — acronym full form “a Better Crypto (ᴀʙᴄ)”
\r* `\Acf` — capitalized acronym full form “A Better Crypto (ᴀʙᴄ)”
\r* `\acfp` — plural acronym full form “a Better Cryptos (ᴀʙᴄs)” (_does not fit example_)
\r* `\Acfp` — capitalized plural acronym full form “A Better Crypto (ᴀʙᴄs)” (_does not fit example_)
\r
114 ### For Glossary Entries ###
116 Refer to “Links to glossary entries” in [the glossaries documentation][glossaries].
120 * `\gls` — glossary entry as defined “firewall”
121 * `\Gls` — capitalized glossary entry “Firewall”
122 * `\GLS` — all-caps glossary entry “FIREWALL”
123 * `\glspl` — plural glossary entry as defined “firewalls”
124 * `\Glspl` — plural capitalized glossary entry “Firewalls”
125 * `\GLSpl` — plural all-caps glossary entry “FIREWALLS”
129 Internally, `\idx` uses `\gls` (see above) with special treating, so we provide the following mapping:
134 * `\idxpl` → `\glspl`
135 * `\Idxpl` → `\Glspl`
136 * `\IDXpl` → `\GLSpl`
138 The form `|indexword|` is a shortcut for `\idx{indexword}` and behaves the same.
139 To pass optional arguments to `idx` (and hence `\gls`), use the form
142 |[format=emph]Diffie--Hellman| is the same as \idx[format=emph]{Diffie--Helmann}
146 [glossaries]: http://mirrors.ctan.org/macros/latex/contrib/glossaries/glossaries-user.pdf