summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries/samples/mwe-acr-desc.tex
blob: be64f5cafa92c223cc7c41eba507a7090981d0d1 (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
% 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{short-long-desc}

\newacronym[description={a device that emits a narrow beam of 
light}]{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}