summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/einfuehrung2/10-07-18.ltx2
blob: 1da8dad10c7335ea4454718c503162f6e2ddddd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  2. Auflage
%% 
%%  Beispiel 10-07-18 auf Seite 505.
%% 
%%  Copyright (C) 2016 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 Letter== 
% Show page(s) 1
%% 
%% 
\documentclass[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{169.16928pt}
\usepackage[T1]{fontenc}
\usepackage{filecontents}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\begin{filecontents*}{Letter.ist}
headings_flag       1
heading_prefix   "\\textbf{"
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]{-- -- }"
\end{filecontents*}
\makeatletter
%\renewenvironment{theindex}
%  {\raggedright\small\let\item\@idxitem \parskip .0pt\@plus .3\p@\relax}{}
\makeatother
\usepackage[paper=a8,pagesize,DIV15]{typearea}
\setlength\parindent{0pt}
%StartShownPreambleCommands
\usepackage[makeidx]{hvindex}
% Aufruf mit makeindex -s Letter
%StopShownPreambleCommands
\begin{document}
\printindex  \newpage
\Index{Das} \Index{Ol@Öl} \Index{und}
\Index{der} \Index{Preis} \Index{sind}
eine \Index{diffizil}e \Index{Sache}.
\Index{Ein} \Index{$\alpha$}-Wesen
(\Index{Alphawesen}) \Index{lebt} im
\Index{Jahr} \Index{2010} in \Index{Oasis}.
\end{document}