summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossaries-extra/sample-acronym-desc.tex
blob: f3c85c8c94fd9c331a2e793a9152a5498a9ae18b (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
31
32
33
34
35
36
37
38
39
40
41
42
43
% arara: pdflatex
% arara: makeglossaries
% arara: pdflatex
% arara: makeglossaries
% arara: pdflatex
\documentclass{report}

\usepackage[colorlinks]{hyperref}
\usepackage[nopostdot=false]{glossaries-extra}

\makeglossaries

\renewcommand*{\glsxtrpostdescacronym}{%
 \space(\textsc{origin:} \glsentrylong{\glscurrententrylabel})%
}

\newacronym[description={a device that emits a narrow intense 
beam of light}]{laser}{laser}{light amplification by stimulated 
emission of radiation}

\newacronym[description={a form of \gls{laser} generating a beam of
microwaves}]{maser}{maser}{microwave amplification by stimulated 
emission of radiation}

\newacronym[description={a system for detecting the location and
speed of ships, aircraft, etc, through the use of radio waves}]{radar}{radar}{radio detection and ranging}

\newacronym[description={portable breathing apparatus for divers}]{scuba}{scuba}{self-contained underwater breathing
apparatus}

\begin{document}
\tableofcontents

\chapter{Sample}

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}