diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries/samples')
3 files changed, 50 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/glossaries/samples/sampleDB.tex b/Master/texmf-dist/doc/latex/glossaries/samples/sampleDB.tex index 7d58e32e2af..651e4694551 100644 --- a/Master/texmf-dist/doc/latex/glossaries/samples/sampleDB.tex +++ b/Master/texmf-dist/doc/latex/glossaries/samples/sampleDB.tex @@ -12,7 +12,7 @@ \begin{document} -Adding all entries\glsaddall. +\glsaddall \printglossaries 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} diff --git a/Master/texmf-dist/doc/latex/glossaries/samples/sampleacronyms.tex b/Master/texmf-dist/doc/latex/glossaries/samples/sampleacronyms.tex new file mode 100644 index 00000000000..c01c479cc49 --- /dev/null +++ b/Master/texmf-dist/doc/latex/glossaries/samples/sampleacronyms.tex @@ -0,0 +1,34 @@ +\documentclass{article} + +\usepackage[acronym,footnote,acronymlists={main,acronym2}]{glossaries} + +\newglossary[alg2]{acronym2}{acr2}{acn2}{Statistical Acronyms} + +\makeglossaries + +% Main glossary is a list of calculus acronyms + +\renewcommand{\glossaryname}{Calculus Acronyms} + +\newacronym[type=main]{vc}{VC}{Vector Calculus} +\newacronym[type=main]{ftoc}{FTOC}{Fundamental Theorem of Calculus} + +% "acronym" glossary is a list of computer related acronyms + +\renewcommand{\acronymname}{Computer Acronyms} + +\newacronym{kb}{kb}{KiloBit} +\newacronym{kB}{kB}{KiloByte} + +% "acronym2" glossary is a list of statistical acronyms + +\newacronym[type=acronym2]{svm}{SVM}{Support Vector Machine} + +\begin{document} +\section{Sample Section} +\gls{kb}. \gls{kB}. \gls{vc}. \gls{ftoc}. \gls{svm}. + +\gls{kb}. \gls{kB}. \gls{vc}. \gls{ftoc}. \gls{svm}. + +\printglossaries +\end{document} |