List of Latex Acronyms

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 in disorder, it appears in order of quotation 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   
    
asked by anonymous 27.11.2017 / 19:12

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}
    
23.04.2018 / 16:59