summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossaries/samples/minimalgls.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries/samples/minimalgls.tex')
-rw-r--r--Master/texmf-dist/doc/latex/glossaries/samples/minimalgls.tex16
1 files changed, 12 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/glossaries/samples/minimalgls.tex b/Master/texmf-dist/doc/latex/glossaries/samples/minimalgls.tex
index eeaf583892d..1f97e1fffec 100644
--- a/Master/texmf-dist/doc/latex/glossaries/samples/minimalgls.tex
+++ b/Master/texmf-dist/doc/latex/glossaries/samples/minimalgls.tex
@@ -3,7 +3,9 @@
% desired, and add the relevant package options to
% both the class file and the glossaries package.
% Change the sample glossary entry and acronym if
- % required.
+ % required. If the problem occurs with an additional
+ % glossary, add in the relevant \newglossary command
+ % and a sample entry.
%
% Only add extra packages or commands if they
% contribute to whatever problem you are trying to
@@ -22,17 +24,23 @@
\listfiles
%\usepackage{glossaries} % acronym will go in main glossary
-\usepackage[acronym]{glossaries} % make a separate list of acronyms
+ \usepackage[acronym]{glossaries} % make a separate list of acronyms
\makeglossaries
\newglossaryentry{sample}{name={sample},
description={a sample entry}}
-\newacronym{aca}{aca}{a contrived acronym}
+% This contrived acronym has non-standard plural forms.
+% These are specified in the optional argument.
+\newacronym[\glsshortpluralkey=cas,\glslongpluralkey=contrived
+acronyms]{aca}{aca}{a contrived acronym}
\begin{document}
-A \gls{sample} entry and \gls{aca}.
+A \gls{sample} entry and \gls{aca}. Second use: \gls{aca}.
+
+Plurals: \glspl{sample}. Reset acronym\glsreset{aca}.
+First use: \glspl{aca}. Second use: \glspl{aca}.
\printglossaries
\end{document}