glossaries package FAQ

Is it possible to set an acronym so that it uses the short form on first use? 🔗

Yes, this is basically the reverse of Is it possible to reset acronyms so that they can be fully expanded again? To unset an acronym you can use \glsunset{label} or \glslocalunset{label} where label is the label identifying the acronym. (These commands also work with glossary entries in general, but you will only see a difference if you set different values for first and subsequent use.)

To unset all entries for a given glossary type use \glsunsetall[glossary list] or \glslocalunsetall[glossary list]. If the optional argument is omitted, all entries for all defined glossaries will be unset.

Be careful about using \glsunsetall as there are situations where it can break other commands that rely on knowing whether or not an entry has been used in the document (such as \glsaddallunused).

With glossaries-extra, it’s safer to use an abbreviation style that doesn’t show the full form on first use, such as the short-nolong (or short) style.

2020-06-27 16:41:04


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

Category: glossaries package
Topic: Referencing Terms