2

I use this solution to typeset my glossary, divided into three groups by parent and sub-entry. It works perfectly. However, I would like to use this style for acronyms, in particular using \setacronymstyle{long-short}. How can this be done?

Mace
  • 186
  • You can use the optional argument of \newacronym to set additional keys, such as parent. For example, \newacronym[parent=markup]{html}{HTML}{Hypertext Markup Language}. – Nicola Talbot Oct 07 '16 at 10:25
  • Thanks! Works perfectly. I didn't know that's possible. Is there a list of the available keys one can use? (I couldn't find one in the manual) – Mace Oct 07 '16 at 14:48
  • All the keys that work with \newglossaryentry can be used in the optional argument of \newacronym. (\newacronym internally uses \newglossaryentry and just appends the optional argument to the end of the list.) – Nicola Talbot Oct 07 '16 at 16:32
  • Good to know, thanks. One last comment: Would you mind posting your first comment as an answer, so I can flag the question solved? – Mace Oct 08 '16 at 12:23

1 Answers1

2

You can use the optional argument of \newacronym to set additional keys, such as parent. For example

\newacronym[parent=markup]{html}{HTML}{Hypertext Markup Language}

Any key that's available with \newglossaryentry is also available in the optional argument of \newacronym.

Nicola Talbot
  • 41,153