I am trying to include \dotfill between the name and description of the glossary entries of an acronym list using the glossaries package
I've managed to get the output I want with:
\renewcommand{\glossentry}[2]{\glsentryname{#1}\dotfill\glossentrydesc{#1}\par}
But I get 45 of these errors:
LaTeX Error: Something's wrong--perhaps a missing \item.
The glossary list prints fine without that line, just not in the format I want.
This is the output I want, just without the errors:
This is an example code snippet that results in the same error:
\documentclass{article}
\usepackage[nonumberlist, nopostdot]{glossaries}
\makeglossaries
\newacronym{adl}{ADL}{Activities of Daily Living}
\newacronym{cmc}{CMC}{Carpometacarpal}
\newacronym{dip}{DIP}{Distal Interphalangeal}
\begin{document}
\renewcommand{\glossentry}[2]{\glossentryname{#1}\dotfill\glossentrydesc{#1}\par}
\printglossary[type=\acronymtype, title=List of Acronyms]
\section*{Main Body}
\acrfull{adl}, \acrfull{cmc},\acrfull{dip}
\end{document}
Thank you!
