Hello!
I am using the glossaries package to make a list of acronyms. But I'm not liking the format that is being generated. I have to generate a format like this?
This format I generated using the acronym package, but I want to do this with the glossaries package.
There is another more complete package than these two?
Thank you!
Page Layout ⇒ glossaries | Style for List of Acronyms
-
- Posts: 4
- Joined: Thu Feb 25, 2010 6:46 pm
glossaries | Style for List of Acronyms
Last edited by efrenlopes on Fri Dec 16, 2011 6:18 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

glossaries | Style for List of Acronyms
You can define a new glossary style similar to the listdotted style:
Regards
Nicola Talbot
Code: Select all
Code, edit and compile here:
\documentclass{article}\usepackage{glossaries}\makeglossaries\newglossarystyle{dottedlocations}{%\glossarystyle{list}%\renewcommand*{\glossaryentryfield}[5]{%\item[\glsentryitem{##1}\glstarget{##1}{##2}] \emph{##3}%\unskip\leaders\hbox to 2.9mm{\hss.}\hfill##5}%\renewcommand*{\glsgroupskip}{}%}\glossarystyle{dottedlocations}\newacronym{manet}{MANET}{Mobile Ad hoc NETwork}\newacronym{rwp}{RWP}{Random WayPoint}\newacronym{rw}{RW}{Random Walk}\glsaddall\begin{document}\printglossaries\end{document}
Nicola Talbot
LaTeX Resources: http://www.dickimaw-books.com/latexresources.html
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
-
- Posts: 4
- Joined: Thu Feb 25, 2010 6:46 pm
glossaries | Style for List of Acronyms
I tried to run this example, but I got the following error:
What can be?
Thanks!!
Code: Select all
(./Exemplo.aux) (./Exemplo.gls! Undefined control sequence.<argument> \glsentryitem{manet}\glstarget {manet}{\glsnamefont {MANET}}l.5 \setentrycounter{page}\glsnumberformat{1}}}\glsgroupskip! Undefined control sequence.<argument> \glsentryitem{rw}\glstarget {rw}{\glsnamefont {RW}}l.8 \setentrycounter{page}\glsnumberformat{1}}}%! Undefined control sequence.<argument> \glsentryitem{rwp}\glstarget {rwp}{\glsnamefont {RWP}}l.10 \setentrycounter{page}\glsnumberformat{1}}}%) [1] (./Exemplo.aux) )(see the transcript file for additional information)Output written on Exemplo.dvi (1 page, 1156 bytes).Transcript written on Exemplo.log.
Thanks!!
-
- Posts: 4
- Joined: Thu Feb 25, 2010 6:46 pm
glossaries | Style for List of Acronyms
I got! Just leave it at that:
It was perfect:)
Thank you.
Code: Select all
Code, edit and compile here:
\newglossarystyle{dottedlocations}{%\glossarystyle{list}%\renewcommand*{\glossaryentryfield}[5]{%\item[\glstarget{##1}{##2}]\emph{##3}%\unskip\leaders\hbox to 2.9mm{\hss.}\hfill##5}%\renewcommand*{\glsgroupskip}{}%}
Thank you.
glossaries | Style for List of Acronyms
You are using an old version of glossaries. I recommend you update it.efrenlopes wrote:Code: Select all
! Undefined control sequence.<argument> \glsentryitem
Regards
Nicola Talbot
LaTeX Resources: http://www.dickimaw-books.com/latexresources.html
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/