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 define my own custom acronym style? 🔗

As from version 4.02, you can define your own acronym style using \newacronymstyle. For example, suppose you want the long form to appear in the margin on first use. You could define the style from scratch, but you might find it easier to base the new style on an existing style. For example, let's define a new style called "margin" that's based on the "short-long" style:

Now you can set the style:
Pre version 4.02: A new style can be set by redefining \CustomAcronymFields and using \SetCustomStyle.

  name={\the\glsshorttok},% name is abbreviated form
  description={\the\glslongtok},% description is long form

\SetCustomStyle % Switch to custom style
Note that this method gets more complicated if the plural forms can't be derived by appending the singular form with the plural suffix ("s" by default). If you find this a problem, then upgrade to the latest version and use \newacronymstyle as described above.

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