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?
1 Answer
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
.
\newacronym
to set additional keys, such asparent
. For example,\newacronym[parent=markup]{html}{HTML}{Hypertext Markup Language}
.\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.)