summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossaries-extra/sample-abbrv.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries-extra/sample-abbrv.tex')
-rw-r--r--Master/texmf-dist/doc/latex/glossaries-extra/sample-abbrv.tex27
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/glossaries-extra/sample-abbrv.tex b/Master/texmf-dist/doc/latex/glossaries-extra/sample-abbrv.tex
new file mode 100644
index 00000000000..5d7f10c8c7c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/glossaries-extra/sample-abbrv.tex
@@ -0,0 +1,27 @@
+% arara: pdflatex
+% arara: makeglossaries
+% arara: pdflatex
+% arara: pdflatex
+\documentclass{report}
+
+\usepackage[colorlinks]{hyperref}
+\usepackage{glossaries-extra}
+
+\makeglossaries
+
+\newabbreviation{html}{HTML}{hypertext markup language}
+\newabbreviation{xml}{XML}{extensible markup language}
+\newabbreviation{svg}{SVG}{scalable vector graphics}
+
+\begin{document}
+\tableofcontents
+
+\chapter{Sample}
+
+First use: \gls{html}, \gls{xml} and \gls{svg}.
+
+Next use: \gls{html}, \gls{xml} and \gls{svg}.
+
+\printglossaries
+
+\end{document}