I wanted to know what will be the best way to get my list of abbreviations to show up like:
Here is some code modified from this post in order to generate the list of abbreviations:
\documentclass{book}
\usepackage{acro}
% probably a good idea for the nomenclature entries:
\acsetup{first-style=short}
%class `abbrev': abbreviations:
\DeclareAcronym{PLL}{
short = PLL ,
long = Phase Locked Loop ,
class = abbrev
}
\DeclareAcronym{HP}{
short = HP ,
long = High Port ,
class = abbrev
}
\DeclareAcronym{LP}{
short = LP ,
long = Low Port ,
class = abbrev
}
\begin{document}
\ac{HP}, \ac{PLL} and \ac{LP} are abbreviations whereas
are part of the nomenclature
\printacronyms[include-classes=abbrev,name=List of Abbreviations]
\end{document}
Thanks for your help!
Best Answer
In order to get an acronym list similar to the one in the picture you need at least v2.6e (2016/09/04) of
acro
.You need to declare a new instance of the
acro-list
object and provide the template code for the new instance. Unfortunately this still requires use of some internal variables but their usage should be safe enough.With the help of
colortbl
andtabu
the rest is just adding the “fancy” stuff: