How to add "nomenclature" into the table of content

1,048 views
Skip to first unread message

Hui

unread,
Apr 4, 2006, 3:10:42 AM4/4/06
to LaTeX Users Group
Hi,

I am a grean hand in Latex, but I have to use it for my thesis. I need
to add
the nomenclature into the table of content (just like List of Figures,
so on). I really can't figure out how to do it. Can anybody give me
some hints?

Thanks a lot,

Hui

Matt

unread,
Apr 24, 2006, 12:00:30 PM4/24/06
to LaTeX Users Group
I'm also fairly new to LaTeX, but I added a List of Symbols as follows:

1.) Created a \newcommand called "listofsymbols" that i defined in my
thesis style file:

\newcommand{\listofsymbols}{
\begin{singlespace}
\thispagestyle{plain}
\chapter*{\centering \normalsize \MakeUppercase\listsymbolname}
\vspace{0.25 in}

\protect\makebox[1.5cm][c]{SYMBOL}\hspace{3cm}\makebox[10cm][l]{DEFINITION}
\vspace{0.0 in}
\end{singlespace}
\addcontentsline{toc}{section}{\listsymbolname}
}

(where \listsymbolname = "List of Symbols")

Also, note, the only thing that really "puts" my LOS in the TOC is the
\addcontentsline... at the end of the newcommand. \addcontentsline and
\addtocontents can add "things" to your TOC (or LOF of LOT).

Also note that this pageformat is in compliance with my school's thesis
standards ... which will probably differ from yours.


2.) I created a \newcommand called "symboldefinition", also in my
thesis style file:

\newcommand{\symboldefinition}[2]{%
\noindent
\begin{singlespace}
\protect\makebox[1.5cm][c]{#1}\hspace{1cm}\parbox[t]{11cm}{#2}
\par
\vspace{0.5em}
\end{singlespace}
}

where the first argument is the symbol, and the second argument is the
definition of the symbol.


3.) I have a seperate file called sybols.tex, within which I define
symbols as follows:

\listofsymbols

\symboldefinition{$\beta$}{probability of non-detecting bad data}

(with\symboldefinition line just being an example of a symbol, and how
it's entered).

Note that my \listofsymbols command is the first thing in my
symbols.tex file - I tried to issue the command from my thesis.tex
file, but I got errors, for some reason ... issuing the command from
the symbols.tex file works better.


4.) Then, in my thesis.tex file, I issue an \include{./FRONT/symbols}
to link my thesis.tex file to my symbols.tex file. (also note that
I've already issued a \usepackage{mythesisstylefile.sty} in my
preamble.)


But, you also might want to give the nomencl package a try:

http://www.tug.org/tex-archive/help/Catalogue/entries/nomencl.html

if I had known about this package, I probably would have used it
instead of making my own command ... nomencl has a lot of
power/functionality that my little LOS does not ... also has better
instructions and previous trouble-shooting. :-)


Hope that helps.

Reply all
Reply to author
Forward
0 new messages