% stolen from book.cls and modified to use
% multicol.sty
%
% This is the one used in my book.
%
% see also cupindex.sty if this does not work
%
\renewenvironment{theindex}
               {\if@twocolumn
                  \@restonecolfalse
                \else
                  \@restonecoltrue
                \fi
                \columnseprule \z@
                \columnsep 35\p@
% this hack gets the chapter heading correct
% this hack increases the behaving textwidth to fulltextwidth
\restoremargins
\begin{narrow}{0in}{-\margindistance}%
\setlength{\textwidth}{\fulltextwidth}%defined in chapternotes.sty
\setlength{\margindistance}{0mm}%defined in chapternotes.sty
% \@makeschapterhead{\indexname}%
\begin{multicols}{3}[\@makeschapterhead{\indexname}]
%\subchapter{\indexname}
%\begin{multicols}{3}
                \@mkboth{\MakeUppercase\indexname}%
                        {\MakeUppercase\indexname}%
                \@mkboth{\indexname}%
                        {\indexname}%
% \chaptermark{\indexname}
                \thispagestyle{plain}\parindent\z@
                \parskip\z@ \@plus .3\p@\relax
                \let\item\@idxitem}
               {\if@restonecol\end{multicols}\end{narrow}\else\clearpage\fi}
%\newcommand\@idxitem{\par\hangindent 40\p@}
%\newcommand\subitem{\@idxitem \hspace*{20\p@}}
%\newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
%\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}



