List of Acronyms latex

Asked

Viewed 5,794 times

0

I’m making a list of acronyms in latex, more specifically I’m using overleaf for this...

I have a problem, when I create the list of acronyms it is coming disorderly, appears in order of citation in the text and not in alphabetical order

\usepackage{nomencl}
\makeatletter 
\renewcommand{\nomname}{\pretextualchapter{Lista de Siglas}\@starttoc{lsg}}
\newcommand{\sigla}[2]{{\addcontentsline{lsg}{sigla}{\numberline{#1}{#2}}}#1}
\newcommand{\l@sigla}[2]{
       \vspace{-0.75cm}
       \leftskip 0em
       \parindent 0em
       \@tempdima 5em
       \advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
       {\normalfont #1}\hfil\nobreak\par}
\makeatother   

1 answer

0


\usepackage[nopostdot,toc,acronym,nomain]{glossaries}
\makeglossaries
\setacronymstyle{long-short}
\loadglsentries[acronym]{example-glossaries-acronym}

\begin{document}

\newacronym[type=\glsdefaulttype]{abc}{ABC}{Auto ...}

\printglossary[type=acronym,style=long]
\end{document}

Browser other questions tagged

You are not signed in. Login or sign up in order to post.