Debian Codegraph @

texmf-dist/doc/latex/acro/examples/acro.example.basic.tex

raw
1 % this file is an adapted version of acrotest.tex shipped out
2 % with the `acronym' package
3 \documentclass{article}
4 \usepackage[T1]{fontenc}
5 \usepackage[english]{babel}
6 \usepackage[colorlinks]{hyperref}
7 \usepackage[version=3]{acro}
8
9 \acsetup{
10 make-links ,
11 pages / display = first ,
12 pages / fill = {, }
13 }
14
15 \DeclareAcronym{CDMA}{
16 short = CDMA ,
17 long = Code Division Multiple Access ,
18 long-plural = es
19 }
20 \DeclareAcronym{GSM}{
21 short = GSM ,
22 long = Global System for Mobile communication
23 }
24 \DeclareAcronym{NA}{
25 short = {\ensuremath{N_{\mathrm{A}}}} ,
26 long = Number of Avogadro ,
27 extra = see \S\ref{Chem} ,
28 pdfstring = NA
29 }
30 \DeclareAcronym{NAD+}{
31 short = {NAD\textsuperscript{+}} ,
32 short-plural = ,
33 long = Nicotinamide Adenine Dinucleotide ,
34 pdfstring = NAD+
35 }
36 \DeclareAcronym{NUA}{
37 short = NUA ,
38 long = Not Used Acronym
39 }
40 \DeclareAcronym{TDMA}{
41 short = TDMA ,
42 long = Time Division Multiple Access ,
43 long-plural = es
44 }
45 \DeclareAcronym{UA}{
46 short = UA ,
47 long = Used Acronym
48 }
49 \DeclareAcronym{lox}{
50 short = {\emph{LOX}} ,
51 long = Liquid Oxygen ,
52 pdfstring = LOX
53 }
54 \DeclareAcronym{lh2}{
55 short = {\emph{LH\textsubscript{2}}} ,
56 long = Liquid Hydrogen ,
57 pdfstring = LH2
58 }
59 \DeclareAcronym{IC}{
60 short = IC ,
61 long = Integrated Circuit
62 }
63 \DeclareAcronym{BUT}{
64 short = BUT ,
65 long = Block Under Test ,
66 long-plural-form = Blocks Under Test
67 }
68 \begin{document}
69
70 \section{Intro}
71 In the early nineties, \acs{GSM} was deployed in many European
72 countries. \ac{GSM} offered for the first time international
73 roaming for mobile subscribers. The \acs{GSM}'s use of \ac{TDMA} as
74 its communication standard was debated at length. And every now
75 and then there are big discussion whether \ac{CDMA} should have
76 been chosen over \ac{TDMA}.
77
78 \section{Furthermore}
79 \acresetall
80 The reader could have forgotten all the nice acronyms, so we repeat the
81 meaning again.
82
83 If you want to know more about \acf{GSM}, \acf{TDMA}, \acf{CDMA}
84 and other acronyms, just read a book about mobile communication. Just
85 to mention it: There is another \ac{UA}, just for testing purposes!
86
87 \begin{figure}[h]
88 Figure
89 \caption{A float also admits references like \ac{GSM} or \acf{CDMA}.}
90 \end{figure}
91
92 \subsection{Some chemistry and physics}
93 \label{Chem}
94 \ac{NAD+} is a major electron acceptor in the oxidation
95 of fuel molecules. The reactive part of \ac{NAD+} is its nictinamide
96 ring, a pyridine derivate.
97
98 One mol consists of \acs{NA} atoms or molecules. There is a relation
99 between the constant of Boltzmann and the \acl{NA}:
100 \begin{equation}
101 k = R/\acs{NA}
102 \end{equation}
103
104 \acl{lox}/\acl{lh2} (\acs{lox}/\acs{lh2})
105
106 \subsection{Some testing fundamentals}
107 When testing \acp{IC}, one typically wants to identify functional
108 blocks to be tested separately. The latter are commonly indicated as
109 \acp{BUT}. To test a \ac{BUT} requires defining a testing strategy\dots
110
111 \printacronyms
112
113 \end{document}