diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossary/sampleNtn2.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/glossary/sampleNtn2.tex | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/glossary/sampleNtn2.tex b/Master/texmf-dist/doc/latex/glossary/sampleNtn2.tex index 9d44b0e8a9a..b92fa57ac10 100644 --- a/Master/texmf-dist/doc/latex/glossary/sampleNtn2.tex +++ b/Master/texmf-dist/doc/latex/glossary/sampleNtn2.tex @@ -30,29 +30,33 @@ \usepackage[plainpages=false,colorlinks]{hyperref} \usepackage{html} -\usepackage[toc]{glossary} +\usepackage[toc]{glossary}[2006/07/20] \makeglossary -\newglossarytype{notation}{not}{ntn} +\newglossarytype[nlg]{notation}{not}{ntn}[number=none] \newcommand{\notationname}{Notation} -\setglossary{type=notation,glsnumformat=ignore,% -glodelim={.}} \makenotation \begin{document} -\storeglosentry[notation]{not:set}{name={$\protect\mathcal{S}$},description=A set,sort=S} +\storeglosentry[notation]{not:set}{name={$\mathcal{S}$}, +description=A set,sort=S} -\storeglosentry[notation]{not:U}{name=$\protect\mathcal{U}$,description={The universal set},sort=U} +\storeglosentry[notation]{not:U}{name=$\mathcal{U}$, +description={The universal set},sort=U} -\storeglosentry[notation]{not:card}{name=$\mid\protect\mathcal{S}\mid$,description=cardinality of $\protect\mathcal{S}$,sort=cardinality} +\storeglosentry[notation]{not:card}{name=$\mid\mathcal{S}\mid$, +description=cardinality of $\mathcal{S}$, +sort=cardinality} -\storeglosentry{glos:set}{name=set,description=A collection of distinct objects} +\storeglosentry{glos:set}{name=set,description=A collection of +distinct objects} -\storeglosentry{glos:card}{name=cardinality,description=The number of elements in the specified set} +\storeglosentry{glos:card}{name=cardinality,description=The number of +elements in the specified set} \title{Sample Document using glossary Package} \author{Nicola Talbot} @@ -60,7 +64,7 @@ glodelim={.}} \maketitle \begin{abstract} -\pagenumbering{Alph}%stop hyperref complaining about duplicate page identifiers +\pagenumbering{Alph} This is a sample document illustrating the use of the \textsf{glossary} package. In this example, a new glossary type called \texttt{notation} is defined, so that the document can have a @@ -88,6 +92,10 @@ Let \gls{not:U} denote the universal set. The \gls{glos:card} of a set $\mathcal{S}$ is denoted \gls{not:card}. +\chapter{Another Chapter} + +Another mention of the universal set \gls{not:U}. + \end{document} \endinput %% |