Latest news 2025-07-01: Ebook Sale July 2025. Cybercrime fiction short stories Unsocial Media and Smile for the Camera free; crime fiction short story The Briefcase free; short story noir crime fiction I’ve Heard the Mermaid Sing free; crime fiction novel The Private Enemy US$1.99; illustrated children’s story The Foolish Hedgehog US$0.99.

glossaries package FAQ

How do I change the way the glossary term is formatted in the document (when using \gls etc)? 🔗

The font can be changed by redefining \glstextformat which takes one argument (the text to be displayed). For example, if you want all your glossary terms to appear in bold, you can do:

\renewcommand{\glstextformat}[1]{\textbf{#1}}

(See also How do I change the way the text appears when I use commands like \gls?.)

If you are using glossaries-extra, you can also make adjustments using category attributes. See Gallery: Mixing Styles for an example.

2020-07-01 14:14:41


Permalink: https://www.dickimaw-books.com/faq.php?id=52
Alternative link: https://www.dickimaw-books.com/faq.php?itemlabel=glstextformat

Category: glossaries package
Topic: Referencing Terms