diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/einfuehrung/10-07-7.ltx2')
-rw-r--r-- | Master/texmf-dist/doc/latex/einfuehrung/10-07-7.ltx2 | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/einfuehrung/10-07-7.ltx2 b/Master/texmf-dist/doc/latex/einfuehrung/10-07-7.ltx2 new file mode 100644 index 00000000000..d28c8f454c8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/einfuehrung/10-07-7.ltx2 @@ -0,0 +1,61 @@ +%% +%% Ein Beispiel der DANTE-Edition +%% +%% Beispiel 10-07-7 auf Seite 516. +%% +%% 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. +%% +%% +%% ==makeindex -s LetterC== +% Show page(s) 2,3 +%% +\documentclass[]{exaarticle} +\pagestyle{empty} +\setlength\textwidth{172.40709pt} +\usepackage[T1]{fontenc} +\usepackage{filecontents} +\begin{filecontents*}{LetterC.ist} +headings_flag 1 +heading_prefix "\\colorbox{black!50}{\\makebox[\\columnwidth][l]{\\bfseries\\color{white}" +heading_suffix "}}\\nopagebreak\n" +symhead_positive "Symbole" +numhead_positive "Zahlen" +item_1 "\\par\\leavevmode\\hangindent10pt\\makebox[10pt][l]{--}" +item_01 "\\par\\leavevmode\\hangindent10pt\\makebox[10pt][l]{--}" +item_x1 "\\par\\leavevmode\\hangindent10pt\\makebox[10pt][l]{--}" +item_2 "\\par\\leavevmode\\hangindent20pt\\makebox[20pt][l]{-- -- }" +item_12 "\\par\\leavevmode\\hangindent20pt\\makebox[20pt][l]{-- -- }" +item_x2 "\\par\\leavevmode\\hangindent20pt\\makebox[20pt][l]{-- -- }" +delim_0 "\\dotfill~ " +\end{filecontents*} +\usepackage[utf8]{inputenc} +\usepackage[ngerman]{babel} +\usepackage{xcolor} +\usepackage[paper=a6,pagesize,DIV15]{typearea} +\setlength\parindent{0pt} + +\usepackage[makeidx]{hvindex} +% Aufruf mit makeindex -s LetterC +\usepackage{multicol} +\makeatletter +\renewenvironment{theindex} + {\section*{\indexname}\@mkboth{\indexname}{\indexname}% + \thispagestyle{empty}\columnseprule \z@ \columnsep 12\p@ + \begin{multicols}{3}\raggedright + \footnotesize\let\item\@idxitem \parskip .0pt\@plus .3\p@\relax + }{\end{multicols}\clearpage} +\makeatother + +\begin{document} +\Index{Das} \Index{Ol@Öl} \Index{und} \Index{der} \Index{Preis} \Index{sind} +\Index{ein}e \Index{diffizil}e \Index{Sache}. \Index{Ein} \Index{$\alpha$}-Wesen +(\Index{Alphawesen}) \Index{lebt} im \Index{Jahr} \Index{2010} in \Index{Oasis}. +\newpage \printindex \newpage +\input{data/listen/IndexTextDemo}% um viele Einträge zu bekommen +\end{document} |