summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossaries/samples/sampleaccsupp.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-11-13 16:23:27 +0000
committerKarl Berry <karl@freefriends.org>2009-11-13 16:23:27 +0000
commit6cc2c89243924fb671f0ad637ed718b99933fbde (patch)
tree6a827d14bb8c3089e7525b43a81c2510167848fb /Master/texmf-dist/doc/latex/glossaries/samples/sampleaccsupp.tex
parent9f6934cabc90af62c40c7ed913cf91f6a9c6f61a (diff)
glossaries 2.4 (10nov09)
git-svn-id: svn://tug.org/texlive/trunk@16008 c570f23f-e606-0410-a88d-b1316a301751
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}