summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossaries/samples/sampleaccsupp.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries/samples/sampleaccsupp.tex')
-rw-r--r--Master/texmf-dist/doc/latex/glossaries/samples/sampleaccsupp.tex18
1 files changed, 15 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/glossaries/samples/sampleaccsupp.tex b/Master/texmf-dist/doc/latex/glossaries/samples/sampleaccsupp.tex
index e094af25b46..0ebf51dbe5a 100644
--- a/Master/texmf-dist/doc/latex/glossaries/samples/sampleaccsupp.tex
+++ b/Master/texmf-dist/doc/latex/glossaries/samples/sampleaccsupp.tex
@@ -1,10 +1,22 @@
\documentclass{article}
-\usepackage{glossaries-accsupp}
+\usepackage[acronym,smallcaps]{glossaries-accsupp}
- % Replacement text is stored in symbol
-\newglossaryentry{dr}{name=Dr,description={},symbol={Doctor}}
+\makeglossaries
+
+\newglossaryentry{dr}{name=Dr,description={Doctor},access={Doctor}}
+
+\newacronym[\glsshortaccesskey=S V M]{svm}{svm}{support vector machine}
+
+\newacronym{eg}{e.g.}{for example}
\begin{document}
\gls{dr}~Jones.
+\gls{dr}~Jones.
+
+\Gls{eg}, \gls{eg}
+
+\gls{svm}. \gls{svm}.
+
+\printglossaries
\end{document}