blob: 0a3543bbeab32762de80d01bf722780525f85ea2 (
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
|
% This file is public domain.
%
% This example document demonstrates the testidx package
% with ngerman.sty and the -g (German) makeindex option.
% You can build this document using:
%
% pdflatex sample-idx-german
% makeindex -g -s sample-idx-german.idx sample-idx-german.idx
% pdflatex sample-idx-german
%
% If you are using arara, the directives are:
%
% arara: pdflatex
% arara: makeindex: { german: on, style: sample-idx-german.ist }
% arara: pdflatex
\documentclass{article}
\usepackage{filecontents}
\usepackage{makeidx}
\usepackage{ngerman}
\usepackage[german]{testidx}
\providecommand*\lettergroup[1]{%
\par\textbf{#1}\par
\nopagebreak
}
\begin{filecontents*}{\jobname.ist}
quote '+'
headings_flag 1
heading_prefix "\\item\\lettergroup{"
heading_suffix "}\n"
symhead_positive "Symbole"
symhead_negative "symbole"
numhead_positive "Zahlen"
numhead_negative "zahlen"
\end{filecontents*}
\makeindex
\begin{document}
\testidx
\printindex
\end{document}
|