Using abbreviations in LaTeX

I am trying to add a list of all the abbreviations that I use at the end of my document.

This is an example of what I'm trying:

\begin{thebibliography}{mel} \bibitem[Sigurdur]{mel} Sigurdur Sigurdsson,\emph{'Mel Frequency Cepstral Coefficients: An Evaluation of Robustness of MP3 Encoded Music'}, Informatics and Mathematical Modelling, Technical University of Denmark \end{thebibliography} \begin{acronym}{H2O} \acro{H2O}[$H_2O$]{water} \end{acronym} 

I want to print this page after the bibliography page.

At the beginning of the document, I add the following line:

 \usepackage[printonlyused,withpage]{acronym} 

and inside the document I try \ac{H2O} , but I didn’t get it to print the abbreviation H2O or the abbreviation list.

Does anyone know what I am missing?

Thanks.

+6
latex acronym
source share
2 answers

Your example does not compile correctly (you must have square brackets for the argument for the acronym environment); here is a minimal example to help you get started:

  \ documentclass {article}
 \ usepackage [printonlyused, withpage] {acronym}
 \ begin {document}
 Acronym: \ ac {H2O} \\
 Again: \ ac {H2O}
 \ begin {acronym} [H2O]
 \ acro {H2O} [$ \ mathrm {H_2O} $] {water}
 \ end {acronym}
 \ end {document}
+4
source share

I am not familiar with the abbreviations package, but I suspect your problem is this: you identified the acronym at the end of the document and tried to use it before it was defined.

I did not even guess why your list of abbreviations was not printed.

If this is useless and you decide to send the message again, turn on the error messages that LaTeX generated, or let us know that they did not generate any.

-2
source share

All Articles