Latest news 2019-12-05: new blog post "RSS Feeds and Other Notifications."

glossaries package FAQ

FAQ Search Tips

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.

Last modified: 2018-08-21 09:51:14.

Category: glossaries package
Topic: Glossary Formatting

© 2020 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

Terms of Use Privacy Policy Cookies Site Map FAQs