1

I am trying to make a glossary list and there is something weird going on: the spacing between entrances is uneven for no obvious reason. The minimal example of the code is below:

\documentclass{article}

\usepackage[nonumberlist,acronym]{glossaries-extra}

\setlength{\glsdescwidth}{6.5in}

\newglossarystyle{acronyms}{%acronymsandsymbols
    \setglossarystyle{long}% based on the list style
    \renewcommand*{\arraystretch}{1}
    \renewcommand*{\glossarypreamble}{\vspace{4ex}
    \glsresetentrycounter} %
}

\makeglossaries

\newacronym{ASR}{ASR}{angular spectrum decomposition    (representation)}
\newacronym{TAM}{TAM}{total angular momentum (TAM) vector}
\newacronym{OAM}{OAM}{orbital angular momentum}
\newacronym{SAM}{SAM}{spin angular momentum}
\newacronym{QM}{QM}{quantum qechanics}
\newacronym{QFT}{QFT}{quantum field theory}
\newacronym{QED}{QED}{quantum electrodynamics}

\begin{document}
\printglossary[style=acronyms,type=\acronymtype]
\newpage

Hello here

\glsaddall

\end{document}

Output: enter image description here

Thanks in advance!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.