diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/einfuehrung/10-07-25.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/einfuehrung/10-07-25.ltx | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/einfuehrung/10-07-25.ltx b/Master/texmf-dist/doc/latex/einfuehrung/10-07-25.ltx new file mode 100644 index 00000000000..10cbfd4d252 --- /dev/null +++ b/Master/texmf-dist/doc/latex/einfuehrung/10-07-25.ltx @@ -0,0 +1,59 @@ +%% +%% Ein Beispiel der DANTE-Edition +%% +%% Beispiel 10-07-25 auf Seite 539. +%% +%% Copyright (C) 2012 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==xindy -C utf8 -I latex -M myModuleC== +% Show page(s) 1 +%% +\documentclass[]{exaarticle} +\pagestyle{empty} +\setlength\textwidth{166.324pt} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[ngerman]{babel} +\setlength\parindent{0pt} +\usepackage{filecontents,multicol} +\begin{filecontents*}{myModuleC.xdy} +(define-attributes ("default")) +(define-location-class "page-numbers" ("arabic-numbers")) +(markup-index :open "~n\begin{theindex}~n" + :close "~n\end{theindex}~n" + :tree) +(markup-locclass-list :open "\quad{}") +(markup-locref-list :sep ", ") +(markup-indexentry :open "~n \item " :depth 0) +( define-letter-group "A--D" :prefixes ("A" "B" "C" "D") ) +( define-letter-group "E--G" :after "A--D" :prefixes ("E" "F" "G") ) +( define-letter-group "H--K" :after "E--G" :prefixes ("H" "I" "J" "K") ) +( define-letter-group "L--N" :after "H--K" :prefixes ("L" "M" "N" ) ) +( define-letter-group "O--R" :after "L--N" :prefixes ("O" "P" "Q" "R") ) +( define-letter-group "S--V" :after "O--R" :prefixes ("S" "T" "U" "V") ) +( define-letter-group "W--Z" :after "S--V" :prefixes ("W" "X" "Y" "Z") ) +(markup-letter-group-list :sep "~n\indexspace") +\end{filecontents*} +\makeatletter +\renewenvironment{theindex} + {\raggedright\small\let\item\@idxitem \parskip .0pt\@plus .3\p@\relax + \begin{multicols}{2}}{\end{multicols}} +\makeatother + +\usepackage{makeidx}\makeindex +% xindy -C utf8 -I latex -M myModuleD datei.idx + +\begin{document} +\printindex \newpage foo +\index{Aal} \index{Berg}\index{Cäsar} +\index{Donau} \index{Emil}\index{Flora} +\index{Garten}\index{Ober}\index{Zucker} +\index{Österreich}\index{klein}\index{groß} +\end{document} |