Featured Book

LaTeX Beginners Guide

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 2 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

nomencl with multicol

Add tags Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.

nomencl with multicol

Postby burgstaa on Tue Mar 2nd, 2010

Hi there!

I would like to make a Nomenclature Index in two colums

My approach was the following:
Code: Select all  •  Open in writeLaTeX
\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 1488 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!
burgstaa
 
Posts: 8
Joined: Wed Oct 28th, 2009

Re: nomencl with multicol

Postby Stefan_K on Wed Mar 3rd, 2010

Hi burgstaa,

use these definitions in your document preamble:
Code: Select all  •  Open in writeLaTeX
\renewcommand*\nompreamble{\begin{multicols}{2}}
\renewcommand*\nompostamble{\end{multicols}
}

Later it's sufficient to write just
Code: Select all  •  Open in writeLaTeX
\printnomenclature

Stefan
LaTeX Community Administrator
User avatar
Stefan_K
Site Admin
 
Posts: 6387
Joined: Mon Mar 10th, 2008
Location: Hamburg, Germany

Re: nomencl with multicol

Postby burgstaa on Thu Mar 4th, 2010

works like a charm!

stefan, thank you very much!
burgstaa
 
Posts: 8
Joined: Wed Oct 28th, 2009


Return to MakeIndex

Who is online

Users browsing this forum: No registered users and 2 guests