You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Am I missing something? Can I force \ac to only typeset the short version, even the first time and still only print the used acronyms in \printacronyms.
Original comment by Clemens Niederberger (Bitbucket: cgnieder, GitHub: cgnieder).
That's actually quite easy since acro provides a number of different styles for the first usage. Search the manual for the first-style option. This should be it:
#!latex
\documentclass{article}
\usepackage{acro}
\acsetup{first-style=short}
\DeclareAcronym{foo}{
short = foo ,
long = this is the description for foo
}
\DeclareAcronym{bar}{
short = bar ,
long = this is the description for bar
}
\begin{document}
\ac{foo} \ac{foo}
\printacronyms
\end{document}
Original report by Robin Schneider (Bitbucket: ypid, GitHub: ypid).
Hi
First of all, great package.
Am I missing something? Can I force \ac to only typeset the short version, even the first time and still only print the used acronyms in \printacronyms.
When I use \acuseall then all acronyms appear.
My workaround is kind of stupid: https://github.com/ypid/typesetting/blob/luaLaTeX/MyPackages/acroUsedShort.sty
The text was updated successfully, but these errors were encountered: