diff options
Diffstat (limited to 'macros/latex/contrib/glossaries/samples/sampleEqPg.tex')
-rw-r--r-- | macros/latex/contrib/glossaries/samples/sampleEqPg.tex | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/macros/latex/contrib/glossaries/samples/sampleEqPg.tex b/macros/latex/contrib/glossaries/samples/sampleEqPg.tex index d00d89ccaf..980cb82f34 100644 --- a/macros/latex/contrib/glossaries/samples/sampleEqPg.tex +++ b/macros/latex/contrib/glossaries/samples/sampleEqPg.tex @@ -1,26 +1,26 @@ - % This file is public domain - % - % To ensure that the page numbers are up-to-date: - % - % latex sampleEqPg - % makeglossaries sampleEqPg - % latex sampleEqPg - % makeglossaries sampleEqPg - % latex sampleEqPg - % - % The extra makeglossaries run is required because adding the - % glossary in the second LaTeX run shifts the page numbers on - % which means that the glossary needs to be updated again. - % (Note that this problem is avoided if the page numbering is - % reset after the glossary. For example, if the glossary has - % roman numbering and the subsequent pages have arabic numbering) - % - % If you want to use arara, you need the following directives: - % arara: pdflatex: { synctex: on } - % arara: makeglossaries - % arara: pdflatex: { synctex: on } - % arara: makeglossaries - % arara: pdflatex: { synctex: on } +% This file is public domain +% +% To ensure that the page numbers are up-to-date: +% +% latex sampleEqPg +% makeglossaries sampleEqPg +% latex sampleEqPg +% makeglossaries sampleEqPg +% latex sampleEqPg +% +% The extra makeglossaries run is required because adding the +% glossary in the second LaTeX run shifts the page numbers on +% which means that the glossary needs to be updated again. +% (Note that this problem is avoided if the page numbering is +% reset after the glossary. For example, if the glossary has +% roman numbering and the subsequent pages have arabic numbering) +% +% If you want to use arara, you need the following directives: +% arara: pdflatex: { synctex: on } +% arara: makeglossaries +% arara: pdflatex: { synctex: on } +% arara: makeglossaries +% arara: pdflatex: { synctex: on } \documentclass[a4paper,12pt]{report} \usepackage{amsmath} @@ -31,8 +31,8 @@ \newcommand{\erf}{\operatorname{erf}} \newcommand{\erfc}{\operatorname{erfc}} - % redefine the way hyperref creates the target for equations - % so that the glossary links to equation numbers work +% redefine the way hyperref creates the target for equations +% so that the glossary links to equation numbers work \renewcommand*\theHequation{\thechapter.\arabic{equation}} @@ -41,27 +41,27 @@ \renewcommand{\glossarypreamble}{Numbers in italic indicate the equation number, numbers in bold indicate page numbers where the main definition occurs.\par} - % set the glossary number style to italic - % hyperit is used instead of textit because - % the hyperref package is being used. +% set the glossary number style to italic +% hyperit is used instead of textit because +% the hyperref package is being used. \renewcommand{\glsnumberformat}[1]{\hyperit{#1}} - % 1st column heading +% 1st column heading \renewcommand{\entryname}{Notation} - % 2nd column heading +% 2nd column heading \renewcommand{\descriptionname}{Function Name} - % 3rd column heading +% 3rd column heading \renewcommand{\pagelistname}{} - % Redefine header row so that it - % adds a blank row after the title row +% Redefine header row so that it +% adds a blank row after the title row \renewcommand{\glossaryheader}{\bfseries\entryname & \bfseries\descriptionname&\bfseries\pagelistname\\ & & \\\endhead} - % Define glossary entries +% Define glossary entries \newglossaryentry{Gamma}{name=\ensuremath{\Gamma(z)}, description=Gamma function,sort=Gamma} |