0

I'd like to print a nomenclature in two columns while keeping the title outside (above) the columns, starting from this:

starting_point

I used multicols as suggested here, but it includes the title in the first column.

title

Using \renewcommand{\nomname}{} creates a blank line in the first column.

blank

Removing \renewcommand{\nomname}{} prints Nomenclature as the default title (so it looks like the second picture again).

This is my code:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{multicol}
\usepackage{nomencl}
\makenomenclature

\title{Nomenclature}
\date{}

\begin{document}

\maketitle

\mbox{}
\nomenclature{Spa.}{Spanish}
\nomenclature{Lat.}{Latin}
\nomenclature{It.}{Italian}
\nomenclature{Fr.}{French}
\nomenclature{En.}{English}
\nomenclature{Pt.}{Portuguese}
\nomenclature{Rus.}{Russian}
\nomenclature{Ger.}{German}

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

\end{document}

And this is my goal:

goal

(I found this possible solution but nothing appears when I compile the suggested code.)

1 Answer 1

2

nomencl package has a preamble and a postamble to add code before and after the list, so the adjustement is rather simple:

\documentclass{article}
%%\usepackage[utf8]{inputenc}  % unnecessary in modern LaTeX
\usepackage{multicol}
\usepackage{nomencl}
\makenomenclature

\renewcommand\nompreamble{\begin{multicols}{2}}
\renewcommand\nompostamble{\end{multicols}}

\title{Nomenclature}
\date{}

\begin{document}

\maketitle

\nomenclature{Spa.}{Spanish} \nomenclature{Lat.}{Latin}
\nomenclature{It.}{Italian}  \nomenclature{Fr.}{French}
\nomenclature{En.}{English}  \nomenclature{Pt.}{Portuguese}
\nomenclature{Rus.}{Russian} \nomenclature{Ger.}{German}

\printnomenclature

\end{document}

This then gives

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .