[Tugindia] Alphabetical lists

CV Radhakrishnan cvr at river-valley.org
Sat Dec 4 12:03:03 CET 2004


On Sat, December 4, 2004 3:28 pm, Wagish Shukla said:

> thanks. seems to work fine. except that the package
> manual nomencl.dvi says ``redefine \nompreamble if u
> want to explain something between the title of the
> nomenclature and the start of the list''. it is not
> clear what this means.

[...]

The following small example when compiled provided the output you wanted.

\documentclass{article}
\usepackage{nomencl,multicol}
\makeglossary
 \def\nomname{List of terms}
 \def\nompreamble{This is the preamble text.\begin{multicols}{2}}
 \def\nompostamble{\end{multicols}}

\begin{document}

\section*{Main equations}

\begin{equation} a=\frac{N}{A} \end{equation}%
 \nomenclature{$a$}{The number of angels per unit area}%
 \nomenclature{$N$}{The number of angels per needle point}%
 \nomenclature{$A$}{The area of the needle point}%
The equation $\sigma = ma$%
 \nomenclature{$\sigma$}{The total mass of angels per unit area}%
 \nomenclature{$m$}{The mass of one angel} follows easily.
 \printglossary

\end{document}

-- 
Radhakrishnan




More information about the tugindia mailing list