[Tex/LaTex] Acronym package: Reset specific acronym

acronyms

I'm using the acronym package to produce a list of abbreviations and acronyms. Now, I want that the full name is printed for one acronym on a specific place after it has been already used.

Example:

\documentclass{scrreprt}
\usepackage{acronym}
\begin{document}
\begin{acronym}
    \acro{REST}{Representational State Transfer}
\end{acronym}

\section{Somesection}
The API provides an \ac{REST} API and prints "Representational State Transfer (REST)". 
\subsection{Someothersection}
Now \ac{REST} should again print "Representational State Transfer (REST)"
\end{document}

I know the command \acresetall from the similar question Acronym package: Full name after each section / chapter, but dont want to use it because it resets all acronyms and I only want to reset one.

Is there another command which resets only one acronym?

Best Answer

To use the full form with the abbreviated form in brackets, you can use the \acf command. \acf treats the acronym like it appears the first time in the text.

For example, \acf{REST} will output "Representational State Transfer (REST)".

Please note that this is not "intelligent", as so far that it does not "reset" like \acresetall or \AC@reset{REST}. You should keep this in mind when adding a previous occurence of your acronym in the same section, etc.

For more information, see the acronym package documentation (page 1).

Related Question