Welcome to the TeXnik website (under construction) Appendix |
||||||||||||||
|
Index with Chapterstyle |
Indexstyle |
more than 2 columns |
Preamble |
Special Characters |
Umlauts and Sorting |
Special Packages: Lix (LaTeX index) By default the index starts without a chapter/section-number. If you like the same behaviour than the one for chapters/sections write the following in the preamble. \renewenvironment{theindex}{% \if@twocolumn\@restonecolfalse\else\@restonecoltrue\fi \columnseprule \z@ \columnsep 35\p@ \twocolumn[\refstepcounter{chapter}% \@makechapterhead{\indexname}]% \@mkboth{\MakeUppercase\indexname}{\MakeUppercase\indexname}% \thispagestyle{plain}\parindent\z@ \parskip\z@ \@plus .3\p@\relax \let\item\@idxitem% }{% \if@restonecol\onecolumn\else\clearpage\fi}for a section header change it to: [...] \twocolumn[\refstepcounter{section}% \section{\indexname}]% [...]
More than 2 columns If you want to have more than two columns in the index, you have to use the multicols-package inside the index-environment. in latex preamble: \usepackage{multicol} \newcommand\NrCol{3} \renewenvironment{theindex}{% \columnseprule \z@ \columnsep 35\p@ \section*{\indexname}% \@mkboth{\MakeUppercase\indexname}{\MakeUppercase\indexname}% \begin{multicols}{\NrCol}% \thispagestyle{plain}\parindent\z@ \parskip\z@ \@plus .3\p@\relax \let\item\@idxitem% }{\clearpage\end{multicols}}
Indexstylefile
Symbols ... A ... ... B ... ... then do: |