Page Layout ⇒ glossaries | Cross-references without Number Lists
glossaries | Cross-references without Number Lists
Thanks.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
glossaries | Cross-references without Number Lists
Code: Select all
\documentclass{article}
\usepackage[nonumberlist]{glossaries}
\makeglossaries
\newglossaryentry{sample1}{name=sample 1,description={An example}}
\newglossaryentry{sample2}{name=sample 2,description={An example}}
\newglossaryentry{sample3}{name=sample 3,description={An
example, \glsseeformat{sample2}{}}}
\begin{document}
\gls{sample1}, \gls{sample2}, \gls{sample3}.
\printglossaries
\end{document}
Regards
Nicola Talbot
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Re: glossaries | Cross-references without Number Lists
term1 (See term2).
term2 A short description. (See term2).
I insert a period at the end of my description, just before my cross-reference, and capitalized the see name. This works well in the event a description is not required (as with term1). However, I omit ending the cross-reference with a period (which would be more appropriate, I think) as glossaries adds one automatically at the end of each description. If I did, I'd get
term1 (See term2.).
term2 A short description. (See term2.).
which looks strange. Perhaps there's a way to get rid of the description's trailing punctuation?
Many thanks for your help.
glossaries | Cross-references without Number Lists
trimtab wrote:Perhaps there's a way to get rid of the description's trailing punctuation?
Code: Select all
\renewcommand*{\glspostdescription}{}
Nicola Talbot
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/