[Tex/LaTex] List of Acronyms

acronymsglossaries

I am writing my thesis in LaTeX. I need to create a list of acronyms (or abbreviations).

I want to have a page like what I have for list of tables and list of figures in which I specify all the acronyms I have used in my thesis.

Is there any way by which I can create such a list?

The class that I have used is:

\documentclass[letterpaper,12pt,titlepage,oneside,final]{book}

I have used following methods which none of them works,

\usepackage[acronym]{glossaries}
% abbreviations:
\newacronym{ny}{NY}{New York}

and the second method is,

\usepackage[toc,section=section]{glossaries}

\newglossary{abbrev}{abs}{abo}{List of Abbreviations}
\newglossaryentry{MS}{
    name        = MS ,
    description = mass spectroscopy ,
    type        = abbrev
}

\makeglossaries

Best Answer

Either use printacronyms for the regular acronyms or \printglossary[type=abbrev] for the self-defined abbrev glossary.

In order to be on the safe side about all acronyms, use \glsaddall in the document body.

\documentclass[letterpaper,12pt,titlepage,oneside,final]{book}

\usepackage[acronym]{glossaries}
% abbreviations:
\newacronym{ny}{NY}{New York}


\newglossary{abbrev}{abs}{abo}{List of Abbreviations}
\newglossaryentry{MS}{
    name        = MS ,
    description = mass spectroscopy ,
    type        = abbrev
}

\makeglossaries

\begin{document}


\gls{ny}

\gls{MS}

\printacronyms

\printglossary[type=abbrev]

\end{document}

Don't forgot to use the external makeglossaries script (or use \makenoidxglossaries and \printnoidxglossary[type=abbrev].

enter image description here

enter image description here