diff options
author | Karl Berry <karl@freefriends.org> | 2020-02-14 22:27:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-02-14 22:27:37 +0000 |
commit | 607682851f2a709e970de0672a2ea1e180352523 (patch) | |
tree | 56019dc6fd2e884a84a8554d9cbae26a78f1649e /Master/texmf-dist/doc/latex/glossaries/samples/sampleNtn.tex | |
parent | 49f9aa88e37f97ad037d7a09c20526c9afb854fc (diff) |
glossaries (14feb20)
git-svn-id: svn://tug.org/texlive/trunk@53777 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries/samples/sampleNtn.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/glossaries/samples/sampleNtn.tex | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/glossaries/samples/sampleNtn.tex b/Master/texmf-dist/doc/latex/glossaries/samples/sampleNtn.tex index 9b3841cc33d..23ddfcd4090 100644 --- a/Master/texmf-dist/doc/latex/glossaries/samples/sampleNtn.tex +++ b/Master/texmf-dist/doc/latex/glossaries/samples/sampleNtn.tex @@ -4,6 +4,8 @@ % arara: makeglossaries % arara: pdflatex: { synctex: on } % arara: pdflatex: { synctex: on } +% +%http://mirrors.ctan.org/macros/latex/contrib/glossaries/glossaries-user.html#sampleNtn \documentclass{report} % If you want to add babel to this document, you may have to @@ -12,7 +14,7 @@ \usepackage[plainpages=false,colorlinks]{hyperref} \usepackage{html} -\usepackage[toc,xindy]{glossaries} +\usepackage[toc]{glossaries} % Define a new glossary type called notation \newglossary[nlg]{notation}{not}{ntn}{Notation} @@ -22,22 +24,22 @@ % Notation definitions \newglossaryentry{not:set}{type=notation, % glossary type -name={$\mathcal{S}$}, -description={A set}, +name={\ensuremath{\mathcal{S}}}, +description={A \gls{gls:set}}, sort={S}} \newglossaryentry{not:U}{type=notation, -name={$\mathcal{U}$}, -description={The universal set}, +name={\ensuremath{\mathcal{U}}}, +description={The universal \gls{gls:set}}, sort=U} \newglossaryentry{not:card}{type=notation, -name={$|\mathcal{S}|$}, -description={cardinality of $\mathcal{S}$}, +name={\ensuremath{\mid\mathcal{S}\mid}}, +description={The \gls{gls:card} of $\mathcal{S}$}, sort=cardinality} \newglossaryentry{not:fact}{type=notation, -name={$!$}, +name={\ensuremath{!}}, description={factorial}, sort=factorial} @@ -61,8 +63,7 @@ description={The number of elements in the specified set}} This is a sample document illustrating the use of the \textsf{glossaries} package. In this example, a new glossary type called \texttt{notation} is defined, so that the document can have a -separate glossary of terms and index of notation. The index of notation -doesn't have associated numbers. +separate glossary of terms and index of notation. \end{abstract} |