cgnieder / acro

acronyms for LaTeX
LaTeX Project Public License v1.3c
40 stars 9 forks source link

New heading templates #196

Closed Alex-Muirhead closed 3 years ago

Alex-Muirhead commented 3 years ago

When using the \printacronyms macro, there is an option for list/heading with possible selections of none, section, section*, chapter and chapter*. I would like to print acronym lists with subsection*, as was possible in the previous version, for the purpose of having multiple acronym lists grouped by tags.

The current documentation has a section for "New heading templates", however no information is provided. How would I go about achieving this?

cgnieder commented 3 years ago

You would define

\NewAcroTemplate[heading]{subsection*}{\subsection*{\acrolistname}}

That's it. Now the template can be chosen.

cgnieder commented 3 years ago

Thanks for the hint to the missing section. It'll be added in the next update.

Alex-Muirhead commented 3 years ago

Thank you!