Page Layout ⇒ glossaries | Style for List of Acronyms
-
- Posts: 4
- Joined: Thu Feb 25, 2010 6:46 pm
glossaries | Style for List of Acronyms
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!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
glossaries | Style for List of Acronyms
Code: Select all
\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
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
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
Code: Select all
\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
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/