| 1 |
\documentclass{article} |
| 2 |
|
| 3 |
\usepackage{acro} |
| 4 |
|
| 5 |
\DeclareAcroProperty{alt2} |
| 6 |
\DeclareAcroProperty{alt2-format} |
| 7 |
|
| 8 |
\RenewAcroTemplate[list]{description}{% |
| 9 |
\acroheading |
| 10 |
\acropreamble |
| 11 |
\begin{description} |
| 12 |
\acronymsmapF{ |
| 13 |
\item [% |
| 14 |
\acrowrite{short}% |
| 15 |
\acroifT{alt}{/}\acrowrite{alt}% |
| 16 |
\acroifT{alt2}{/}\acrowrite{alt2}% |
| 17 |
] |
| 18 |
\acrowrite{list}% |
| 19 |
\acroifanyT{foreign,extra}{ (}% |
| 20 |
\acroifT{foreign}{% |
| 21 |
\acrowrite{foreign}% |
| 22 |
\acroifT{foreign-short}{, \acrowrite{foreign-short}}% |
| 23 |
\acroifT{extra}{, }% |
| 24 |
}% |
| 25 |
\acrowrite{extra}% |
| 26 |
\acroifanyT{foreign,extra}{)}% |
| 27 |
\acropagefill |
| 28 |
\acropages |
| 29 |
{\acrotranslate{page}\nobreakspace}% |
| 30 |
{\acrotranslate{pages}\nobreakspace}% |
| 31 |
} |
| 32 |
{ \item \AcroRerun } |
| 33 |
\end {description} |
| 34 |
} |
| 35 |
|
| 36 |
\DeclareAcronym{one}{ short = one , alt = two, alt2 = three, long = common description } |
| 37 |
\DeclareAcronym{four}{ short = four , long = another description } |
| 38 |
|
| 39 |
\begin{document} |
| 40 |
|
| 41 |
\printacronyms[display=all] |
| 42 |
|
| 43 |
\end{document} |
| 44 |
|