Smile for the Camera: a new cybercrime short story ebook.

glossaries package FAQ

How do I apply a different font to a particular page in a number list? 🔗

The location encapsulator (encap) is given by the format key in the optional argument of commands like \gls. The value should be the name of the associated command (which should only take a single argument) without the initial backslash. For example, \gls[format={textbf}]{sample}.

Note that if your document has hyperlinks, then the formatting command will cause the hyperlink to be lost unless it uses \glshypernumber. So format=textbf or format=emph will format the location in bold or italic but the location won't have a hyperlink. For convenience, the glossaries package provides alternatives that internally use \glshypernumber. For example, format=hyperbf or format=hyperem.

For a complete list of available location formats that support hyperlinks, see Table 6.1 of the glossaries user manual.

2020-06-29 12:21:36


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

Category: glossaries package
Topic: Glossary Formatting