Tuesday, December 21, 2010

How to use nomenclature

• Put \usepackage[〈options〉]{nomencl} in the preamble of your document.
• Put \makenomenclature in the preamble of your document.
• Issue the \nomenclature command (see Section 2.2) for each symbol you want to have included in the nomenclature list. The best place for this command is immediately after you introduce the symbol for the ﬁrst time.
• Put \printnomenclature at the place you want to have your nomenclature list.

\documentclass[12pt]{article}
\usepackage{nomencl}
\makenomenclature

\begin{document}
\maketitle
\tableofcontents
\printnomenclature

\nomenclature{$N$}{The number of particles}

\end{document}

To compile do followings in Unix prompt:
makeindex 〈ﬁlename〉.nlo   -s   nomencl.ist   -o   〈ﬁlename〉.nls