summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossaries/samples/mwe-acr-desc.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-07-08 22:32:47 +0000
committerKarl Berry <karl@freefriends.org>2015-07-08 22:32:47 +0000
commite1218e4d5ddcb68ac921c718bbe7a537af862583 (patch)
treeb77730b9572c833245ca5b3a0f4389e16dd72fa3 /Master/texmf-dist/doc/latex/glossaries/samples/mwe-acr-desc.tex
parent4cc63125c198c95120c614619f6adca51ed8b7e3 (diff)
glossaries (8jul15)
git-svn-id: svn://tug.org/texlive/trunk@37808 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries/samples/mwe-acr-desc.tex')
-rw-r--r--Master/texmf-dist/doc/latex/glossaries/samples/mwe-acr-desc.tex26
1 files changed, 26 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/glossaries/samples/mwe-acr-desc.tex b/Master/texmf-dist/doc/latex/glossaries/samples/mwe-acr-desc.tex
new file mode 100644
index 00000000000..3d1bb9c06b8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/glossaries/samples/mwe-acr-desc.tex
@@ -0,0 +1,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
+
+\newacronym[description={a device that emits a narrow beam of
+light}]{laser}{laser}{light amplification by stimulated
+emission of radiation}
+
+\setacronymstyle{short-long-desc}
+
+\begin{document}
+
+First use: \gls{laser}.
+
+Next use: \gls{laser} or \glspl{laser}.
+
+\printglossaries
+
+\end{document}