glossaries package FAQ

\Gls doesn’t work when \acronymfont uses a declaration 🔗

This is similar to \Gls doesn’t work with the smaller option (everything is converted to uppercase) . Using a declaration instead of a text block command confuses \makefirstuc. So use a text block command instead. If there is no text block equivalent, you will have to define one. For example:

\newcommand{\textlarge}[1]{{\large #1}}
\renewcommand{\acronymfont}[1]{\textlarge{#1}}

2020-06-29 10:53:53


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

Category: glossaries package
Topic: Unexpected Output in the Main Document Text