I am using the acronym
package for acronyms, symbols and constants in my report. I would like the list of constants to be slightly different than the other two lists. I want to use the \acroextra{}
macro to add the value of the constants and to print them in a third column.
At the moment I have something like this:
\documentclass[10pt]{report}
\usepackage[utf8]{inputenc}
\usepackage[]{acronym}
\begin{document}
\large \textbf{Symbols}
\begin{acronym}[longest]
\acro{lam}[$\lambda$]{wavelength}
\acro{temp}[$T$]{Temperature}
\end{acronym}
\large \textbf{Constants}
\begin{acronym}[longest]
\acro{c}[$c$]{speed of light \acroextra{299 792 458 m/s}}
\acro{sig}[$\sigma$]{Stefan–Boltzmann constant \acroextra{$5.670367 10^{-8}$ W/(m$^2$K$^4$)}}
\end{acronym}
\vspace{1in}
Some text and acro calls
\end{document}
This gives:
I would like it result in something like this:
Can I make this work with a second width in the environment (\begin{acronym}[longest short][longest long]
) or something? The values could also be right aligned if that is simpler.
glossaries
...acronym
uses adescription
environment with the short form as the optional argument to\item
. You'd need to rewrite this in a tabular.acronym
\hfill
before\acroextra{
, but from my point of view thats not an optimal solution.