summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossary/sampleNtn.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossary/sampleNtn.tex')
-rw-r--r--Master/texmf-dist/doc/latex/glossary/sampleNtn.tex18
1 files changed, 11 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/glossary/sampleNtn.tex b/Master/texmf-dist/doc/latex/glossary/sampleNtn.tex
index 4873151ab9f..d8bbaac6f9a 100644
--- a/Master/texmf-dist/doc/latex/glossary/sampleNtn.tex
+++ b/Master/texmf-dist/doc/latex/glossary/sampleNtn.tex
@@ -37,6 +37,7 @@
\newglossarytype{notation}{not}{ntn}[style=long,cols=2,border,header]
\newcommand{\notationname}{Notation}
+\setglossary{type=notation,glsnumformat=ignore,glodelim={.}}
\makenotation
@@ -48,7 +49,7 @@
\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
@@ -72,17 +73,20 @@ are denoted by a caligraphic font
e.g.\ $\mathcal{S}$%
\notation{name=$\mathcal{S}$,description=A set,sort=S}.
-Let $\mathcal{U}$ denote the universal set\notation{name=$\mathcal{U}$,description={The universal set},sort=U}.
+Let $\mathcal{U}$ denote the universal set\notation{
+name=$\mathcal{U}$,description={The universal set},sort=U}.
-The cardinality\glossary{name=cardinality,description=The number of elements in the specified set} of a set $\mathcal{S}$ is denoted
-$|\mathcal{S}|$%
-\notation{name=$\mid\mathcal{S}\mid$,description=cardinality of $\mathcal{S}$,sort=cardinality}
+The cardinality\glossary{name=cardinality,
+description=The number of elements in the specified set} of
+a set $\mathcal{S}$ is denoted $|\mathcal{S}|$%
+\notation{name=$\mid\mathcal{S}\mid$,
+description=cardinality of $\mathcal{S}$,sort=cardinality}
\chapter{Next}
Now for a hyperlink:
-\xnotation{name=$\mathcal{U}$,description={The universal
-set},sort=U}{$\mathcal{U}$}.
+\xnotation{name=$\mathcal{U}$, description={The universal
+set}, sort=U}{$\mathcal{U}$}.
\end{document}
\endinput