summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossaries/samples/samplexdy.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries/samples/samplexdy.tex')
-rw-r--r--Master/texmf-dist/doc/latex/glossaries/samples/samplexdy.tex16
1 files changed, 13 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/glossaries/samples/samplexdy.tex b/Master/texmf-dist/doc/latex/glossaries/samples/samplexdy.tex
index faa5efb4ace..ec94891df1b 100644
--- a/Master/texmf-dist/doc/latex/glossaries/samples/samplexdy.tex
+++ b/Master/texmf-dist/doc/latex/glossaries/samples/samplexdy.tex
@@ -39,7 +39,7 @@
% Redefine the page numbers so that they appear as a word:
- \renewcommand*{\thepage}{\Numberstring{page}}
+ \renewcommand*{\thepage}{\texorpdfstring{\Numberstring{page}}{\arabic{page}}}
% Need to add this to the list of location styles.
% \Numberstring{page} gets expanded to
@@ -166,7 +166,7 @@ description={SI unit of electric current named after
first={Archimedes of Syracuse},text={Archimedes},
description={Greek mathematician}}
-\newglossaryentry{archimedesprinciple}{name={Archemedes' principle},
+\newglossaryentry{archimedesprinciple}{name={Archimedes' principle},
description={Principle that if a body is submerged in a fluid
it experiences upthrust equal to the weight of the displaced
fluid. Named after \gls{archimedes}}}
@@ -183,6 +183,11 @@ description={German mathematician}}
description={Complex number where both real and imaginary
parts are integers}}
+\newglossaryentry{gaussianfn}{name={Gaussian function},
+ description={A function of the form:
+ \[f(x) = a \exp\left(-\frac{(x-b)^2}{2c^2}\right)\]
+ for some constants $a$, $b$ and $c$}}
+
\newglossaryentry{peano}{name={Peano, Giuseppe},
first={Giuseppe Peano},text={Peano},
description={Italian mathematician}}
@@ -209,7 +214,12 @@ coefficient named after \gls{pearson}}}
This is a section on \gls[format=(]{gauss}. This section spans
several pages.
-\newpage
+\rule{1pt}{0.6\textheight}
+
+This paragraph has been shoved to the bottom of the page using a rule.
+This paragraph spans a page break for testing purposes to ensure the
+glossary entry in this paragraph has the correct location. Here's
+the glossary entry: \gls{gaussianfn}.
This page talks about \glspl[format=hyperbfit]{gaussianint}. Since
it's the principle definition, the user-defined hyperbfit format is