You can define your own glossary style where the user1
value is printed. The value is displayed using the macro \glsuseri
.
You can define the glossary style any way you like, for example as a table. The example below shows a simple list style (basically \item[label] definition
). The manual (section 27 and 28) has some more examples of glossary style definitions, and the package also provides sample files with style definitions.
MWE:
\documentclass{article}
\usepackage[symbols,nomain]{glossaries}
\makenoidxglossaries
\newglossarystyle
{symval}% style name
{% based on list style
\setglossarystyle{list}%
\renewcommand{\glossentry}[2]{%
\item[\glsentryitem{##1}%
\ifglshassymbol{##1}{\glossentrysymbol{##1}\space}{}%
\glstarget{##1}{\glossentryname{##1}}]
\ifglshasfield{useri}{##1}{(\glsuseri{##1})}{}%
\glspar\glossentrydesc{##1}\space(page\space##2)%
}%
}
\newglossaryentry{fermiconstant}{
name={Fermi Coupling Constant},
description={coupling associated to the effective four point interaction of the electroweak interactions},
symbol={\ensuremath{G_F}},
user1={${1.1663787(6)\times 10^{−5}~\text{GeV}^{-2}}$}
}
\begin{document}
We use \glssymbol{fermiconstant} which is the \gls{fermiconstant}.
\printnoidxglossary[type=symbols,style=symval]
\end{document}
Result:
