Reputation: 2571
I'm trying to add a list of all acronyms 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'm adding the following line:
\usepackage[printonlyused,withpage]{acronym}
and within the document I try \ac{H2O}
, but I didn't get it to print the acronym H2O, nor the acronym list.
Does anyone know what am I missing?
Thanks.
Upvotes: 7
Views: 20899
Reputation: 78364
I'm not familiar with the acronyms package but I suspect that your problem is this: you have defined the acronym at the end of the document and tried to use it prior to its definition.
I haven't even got a good guess about why your acronym list was not printed.
If this is no use and you decide to post again, include the error messages that LaTeX generated -- or tell us that it didn't generate any.
Upvotes: -3
Reputation: 64640
Your example doesn't compile correctly (you should have square brackets for the argument to the acronym environment); here's a minimal example that should help to get you 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}
Upvotes: 5