MakeIndex, Nomenclature, Glossaries and Acronymsnomencl with multicol

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Post Reply
burgstaa
Posts: 8
Joined: Wed Oct 28, 2009 4:50 pm

nomencl with multicol

Post by burgstaa »

Hi there!

I would like to make a Nomenclature Index in two colums

My approach was the following:

Code: Select all

\documentclass{article}

\usepackage{nomencl}
\makenomenclature
\usepackage{multicol}


\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 = m a$%
\nomenclature{$\sigma$}{The total mass of angels per unit area}%
\nomenclature{$m$}{The mass of one angel}
follows easily.

\begin{multicols}{2}
\printnomenclature
\end{multicols}

\end{document}
as a result i get this:
testu.png
testu.png (15.5 KiB) Viewed 6008 times
the "sigma" and "a" should be at the same heigth. I have no idea, how to fix this.

I would appreciate any help very much!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

nomencl with multicol

Post by Stefan Kottwitz »

Hi burgstaa,

use these definitions in your document preamble:

Code: Select all

\renewcommand*\nompreamble{\begin{multicols}{2}}
\renewcommand*\nompostamble{\end{multicols}}
Later it's sufficient to write just

Code: Select all

\printnomenclature
Stefan
LaTeX.org admin
burgstaa
Posts: 8
Joined: Wed Oct 28, 2009 4:50 pm

Re: nomencl with multicol

Post by burgstaa »

works like a charm!

stefan, thank you very much!
Post Reply