Latest news 2019-11-04: The giveaway of two signed copies of “Quack, quack, quack. Give my hat back!” has closed and the winning entrants have been selected. Thank you to everyone who took part.

glossaries package FAQ

FAQ Search Tips

How do I make acronyms appear in a different font (but not the long form)? 🔗

As from version 4.02, use one of the predefined acronym formats and redefine \acronymfont as required. For example, if you want the short form displayed in sans-serif using the long-short format:

\setacronymstyle{long-short}
\renewcommand*{\acronymfont}[1]{\textsf{#1}}
or you can define you own custom style called, say, long-sf-short:
\newacronymstyle{long-sf-short}%
{%
  \GlsUseAcrEntryDispStyle{long-short}%
}%
{%
  \GlsUseAcrStyleDefs{long-short}%
  \renewcommand{\acronymfont}[1]{\textsf{##1}}%
}
and use that:
\setacronymstyle{long-sf-short}
Pre Version 4.02:

If you are just using the default definition of \newacronym, then use the package option \smaller and redefine \acronymfont to use the required font. If you are using any of the package options that redefine \newacronym (such as description), then just redefine \acronymfont to use the required font.

Last modified: 2013-12-08 16:39:19.


Category: glossaries package
Topic: Referencing Terms

© 2019 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