I'm using the acronym package to produce a list of abbreviations and acronyms. Now, I want that the full name is printed after every new section and/or chapter.
For example:
\acro{PC}{Personal Computer}
The usage would be:
Chapter 1:
\ac{PC} with puts out "Personal Computer (PC)" since its the first usage. For every further usage within this chapter it puts out only "PC".
Chapter 2:
Now \ac{PC} should again print "Personal Computer (PC)" for the first usage and only "PC" for all following. Currently it prints in both cases only "PC".
It would also be nice if there is an option to enable this also for each section.
Best Answer
acronym
provides\acresetall
for resetting the behaviour. After using it each acronym will behave as if it is called for the first time. So just call\acresetall
at the beginning of a chapter (or section).In order to automate this you can load the
etoolbox
package and place\preto\chapter\acresetall
in your preamble (or\preto\section\acresetall
if you want to reset at each call of\section
):