summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries/samples/mwe-acr.tex
blob: 46b36dcc25119343979e67c489d0c2b6b3570bdc (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
 % This file is public domain
 % If you want to use arara, you need the following directives:
 % arara: pdflatex
 % arara: makeglossaries
 % arara: pdflatex
\documentclass{article}

\usepackage{glossaries}

\makeglossaries

\setacronymstyle{long-short}

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

\begin{document}

First use: \gls{laser}.

Next use: \gls{laser} or \glspl{laser}.

\printglossaries

\end{document}