# Problem using package acronym

I am using acronym package to create the list of Acronyms. I am using Acronym1.tex containing the definition of all the acronyms. However here is the list of problems I am facing.

1. I have to sort the list manually every time I need a sorted list in the pdf. I am not aware of the options with usepackage. I am currently using

\usepackage[printonlyused,withpage]{acronym}

2. Is it possible to order the Acronym list? Currently what I am getting is

<short>:<Description>..........<Page Number>

I would prefer something like this :

<short>\t<Description>..........<Page Number>

Example:

\documentclass{article}
\usepackage[printonlyused,withpage]{acronym}
\begin{document}

\section{Intro}
In the early nineties,\ac{TDMA}, \ac{IEEE} , \ac{GSM}, \ac{WPAN} \ac{FPGA}

\section{Acronyms}
\begin{acronym}
\acro{TDMA}{Time Division Multiple Access}
\acro{WPAN}{Wireless Personal Area Network}
\acro{GSM}{Global System for Mobile communication}
\acro{FPGA}{Field Programmable Gate Array}
\acro{IEEE}{Institute of Electrical and Electronics Engineers}
\end{acronym}

\end{document}


If you are using acronym package and know the options on how to use it, that will be really helpful.

I could not find any relevant information, in the documentation.

-

With the package acronym you can't sort the entries. Maybe you can write a small per-script. I recommend the package glossaries which is able to do this:

\documentclass{article}
\usepackage[acronym,toc,shortcuts]{glossaries}
\makeglossaries
\newacronym{TDMA}{TDMA}{Time Division Multiple Access}
\newacronym{WPAN}{WPAN}{Wireless Personal Area Network}
\newacronym{GSM}{GSM}{Global System for Mobile communication}
\newacronym{FPGA}{FPGA}{Field Programmable Gate Array}
\newacronym{IEEE}{IEEE}{Institute of Electrical and Electronics Engineers}

\begin{document}

\section{Intro}
In the early nineties,\ac{TDMA}, \ac{IEEE} , \ac{GSM}, \ac{WPAN} \ac{FPGA}

\printglossary[type=\acronymtype,style=long]
%\printglossary[type=\acronymtype,style=altlistgroup]%alternative style
\end{document}


Now compile with

(pdf)latex
makeglossaries
(pdf)latex
(pdf)latex

-

As you said, the acronym documentation doesn't mention "sorting" the acronym list. But a more telling fact is that it also doesn't mention either makeindex or bibtex which presumably would be used to sort a "raw" list of acronyms. Furthermore, in the discussion acronym vs. glossaries at comp.text.tex it is stated that acronyms must be sorted "manually in the input file" when using acronym. Bottom line: If you want automatic acronym sorting, switch to a package like glossaries.

-
Thanks a lot, I was not aware of the sorting part. I thought there is some options with \usepackage which I am missing. Thanks for the info. –  www.sapnaedu.in Sep 24 '11 at 11:02