I am using the glossaries
package to make a list of symbols. Is there a simple way to manipulate the space between the symbol and the description?
\documentclass{scrreprt}
\usepackage{glossaries}
\usepackage{glossary-mcols}
\newglossary[slg]{symbolslist}{syi}{syg}{List of Symbols}
\makeglossaries
\renewcommand*{\glspostdescription}{}
\newglossaryentry{symb:band_energy}{
name=\ensuremath{\epsilon_k},
description={Band energy in momentum space.},
type=symbolslist
}
\begin{document}
We will refer to the band structure as \gls{symb:band_energy}.
\printglossary[type=symbolslist, nonumberlist]
\end{document}
I like to increase the space between \epsilon_k
and the description.
Best Answer
One way is to define a new glossary style and use it instead of the predefined you are using (
list
).So you can define a new style based on
list
in this way:Note
\hspace{1cm}
. Change that value to modify the spacing.At printing time, now you have to use
Thus, modifying your MWE to
will give:
Remark
If you need
\glspostdescription
to be empty only for the newly defined style, you can incorporate\renewcommand*{\glspostdescription}{}
in the new style definition:or even better, since we are redefining
\glossaryentryfield
, completely remove\glspostdescription
from its definition: