Two column nomenclature

I want to achieve this for my nomenclature, making it two column with title on top of the columns and not part of the first one. I also want to keep my nomenclature's name changed to Appendix which I do with \renewcommand{\nomname}{Acronyms}.

Can anyone help me "port" the code in this post to my needs?

-

From \nomname I guess you're using the nomencl package.

Then

\usepackage{multicol}
\makeatletter
\@ifundefined{chapter}
{\def\wilh@nomsection{section}}
{\def\wilh@nomsection{chapter}}

\def\thenomenclature{%
\begin{multicols}{2}[%
\csname\wilh@nomsection\endcsname*{\nomname}
\nompreamble]
\list{}{%
\labelwidth\nom@tempdim
\leftmargin\labelwidth
\itemsep\nomitemsep
\let\makelabel\nomlabel}%
}
\def\endthenomenclature{%
\endlist
\end{multicols}
\nompostamble}
\makeatother


should do.

Complete example (with mock nomenclature entries)

\documentclass{book}
\usepackage[intoc]{nomencl}
\makenomenclature
\usepackage{multicol}
\makeatletter
\@ifundefined{chapter}
{\def\wilh@nomsection{section}}
{\def\wilh@nomsection{chapter}}

\def\thenomenclature{%
\begin{multicols}{2}[%
\csname\wilh@nomsection\endcsname*{\nomname}
\nompreamble]
\list{}{%
\labelwidth\nom@tempdim
\leftmargin\labelwidth
\itemsep\nomitemsep
\let\makelabel\nomlabel}%
}
\def\endthenomenclature{%
\endlist
\end{multicols}
\nompostamble}
\makeatother

\begin{document}

\frontmatter
\tableofcontents

\mainmatter
\chapter{X}

\newcount\pippo
\def\mocknom{\expandafter\nomenclature\expandafter{\romannumeral\pippo}{X}}

abc

\loop\ifnum\pippo<200
\mocknom
\repeat

\printnomenclature
\end{document}

-
I get two columns within one column, and the nomenclature won't continue to the next page when filled: my output Also, I am using report if that matter –  Wilhelmsen Oct 23 '12 at 13:22
@Wilhelmsen Are you perhaps using the twocolumn option? –  egreg Oct 23 '12 at 16:00
thank you, I hadn't removed my previous tests to get this working, making it a double two column. Thank you very much! –  Wilhelmsen Oct 24 '12 at 8:44
Now I don't have the ability to use sub-floats, I get hundreds of error messages. Removing your code solves the problem. What could this be? –  Wilhelmsen Nov 6 '12 at 10:54
@Wilhelmsen Without an example of code it's very hard to tell something. –  egreg Nov 6 '12 at 11:44
show 1 more comment