Latest news 2021-06-05: New blog post: Dickimaw Books Site Account.

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