Latest news 2020-07-03: SmashWords sale (ends 31st July 2020): 50% off crime/SF novel The Private Enemy and 100% off (free!) I’ve Heard the Mermaid Sing.

glossaries package FAQ

Categories:

FAQ Search Tips

Is it possible for an entry to have a name and an associated symbol? 🔗

Yes, just use the name key for the term and the symbol key for the symbol. See Gallery: Units (glossaries.sty) for an example. If you want the symbol to also appear in the text when you use commands such as \gls, then you can redefine \glsentryfmt or use \defglsentryfmt (those two commands are new to version 4.0).

With glossaries-extra, it’s possible to use the post-link hook to automatically append the symbol, which is simpler than redefining \glsentryfmt. See Gallery: Units (glossaries-extra.sty) for an example.

Last modified: 2020-06-27 15:25:24.


Category: glossaries package
Topic: Defining Terms