Debian Codegraph @

texmf-dist/doc/latex/glossaries-extra/samples/sample-acronym.tex

raw
1 % arara: pdflatex
2 % arara: makeglossaries
3 % arara: pdflatex
4 \documentclass{article}
5
6 \usepackage[colorlinks]{hyperref}
7 \usepackage{glossaries-extra}
8
9 \makeglossaries
10
11 \newacronym{laser}{laser}{light amplification by stimulated
12 emission of radiation}
13
14 \newacronym{maser}{maser}{microwave amplification by stimulated
15 emission of radiation}
16
17 \newacronym{radar}{radar}{radio detection and ranging}
18
19 \newacronym{scuba}{scuba}{self-contained underwater breathing
20 apparatus}
21
22 \begin{document}
23 An acronym is a word formed from the initial letters of other words.
24 Since it's a word, an acronym is pronounced as a word rather than as
25 a series of letters. Examples of acronyms: \gls{laser}, \gls{maser},
26 \gls{radar} and \gls{scuba}.
27
28 \printglossaries
29
30 \end{document}