Text Formatting'Acronyms' in table of contents

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
langston112
Posts: 3
Joined: Thu Apr 16, 2009 12:32 pm

'Acronyms' in table of contents

Post by langston112 »

Hi,

i am currently working on my thesis. i want to include a list of acronyms, thus i am using the acronym package. After the commands \listoffigures and \listoftables i use the following code for the list of acronyms

Code: Select all

\chapter*{Acronyms}
\begin{acronym}[TDMA]
	\setlength{\itemsep}{-\parsep}
	\acro{PCB}{printed circuit board}
        ...
\end{acronym}
this is actually working fine except of one little thing: "Acronyms" does not appear in the table of contents. This is because of the asterisk *, but i don't want it to be chapter 1, of course.
is there a work around for this situation?

regards, martin

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

'Acronyms' in table of contents

Post by gmedina »

Hi,

try something like

Code: Select all

\chapter*{Acronyms}
\addcontentsline{toc}{chapter}{Acronyms}
\begin{acronym}[TDMA]
...
\end{acronym}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
langston112
Posts: 3
Joined: Thu Apr 16, 2009 12:32 pm

Re: 'Acronyms' in table of contents

Post by langston112 »

exactly, thanks a lot!
Post Reply