summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries-extra/samples/sample-acronym.tex
blob: 1301d14cc4b1a26fde7cf8e85f533426eb40e7f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
% arara: pdflatex
% arara: makeglossaries
% arara: pdflatex
\documentclass{article}

\usepackage[colorlinks]{hyperref}
\usepackage{glossaries-extra}

\makeglossaries

\newacronym{laser}{laser}{light amplification by stimulated 
emission of radiation}

\newacronym{maser}{maser}{microwave amplification by stimulated 
emission of radiation}

\newacronym{radar}{radar}{radio detection and ranging}

\newacronym{scuba}{scuba}{self-contained underwater breathing
apparatus}

\begin{document}
An acronym is a word formed from the initial letters of other words. 
Since it's a word, an acronym is pronounced as a word rather than as
a series of letters. Examples of acronyms: \gls{laser}, \gls{maser},
\gls{radar} and \gls{scuba}.

\printglossaries

\end{document}