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?

4
  • 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}. Oct 7, 2016 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 7, 2016 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.) Oct 7, 2016 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 8, 2016 at 12:23

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.