summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/einfuehrung/10-07-12.ltx2
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/einfuehrung/10-07-12.ltx2')
-rw-r--r--Master/texmf-dist/doc/latex/einfuehrung/10-07-12.ltx245
1 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/einfuehrung/10-07-12.ltx2 b/Master/texmf-dist/doc/latex/einfuehrung/10-07-12.ltx2
new file mode 100644
index 00000000000..c1526f8d5af
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/einfuehrung/10-07-12.ltx2
@@ -0,0 +1,45 @@
+%%
+%% Ein Beispiel der DANTE-Edition
+%%
+%% Beispiel 10-07-12 auf Seite 522.
+%%
+%% 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 Letter==
+% Show page(s) 3
+%%
+\documentclass[]{screxa}
+\pagestyle{empty}
+\setlength\textwidth{190.324pt}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage[ngerman]{babel}
+\setlength\parindent{0pt}
+\usepackage[paperwidth=10cm,paperheight=10cm]{geometry}
+
+\usepackage{ragged2e}
+\usepackage[makeindex,split]{splitidx}
+\newindex{idx}\newindex[Befehle]{com}
+\newindex[Umgebungen]{env}
+\setindexpreamble[com]{\RaggedRight Der
+ Befehlsindex gibt alle verwendeten
+ Makros aus. Die Umgebungen sind in
+ einem weiteren Index zu finden.}
+
+\begin{document}
+Normaler Text
+\sindex[env]{document} \index{Ol@Öl}
+\sindex[com]{ref@\textbackslash ref}
+\sindex[com]{emph@\textbackslash emph}
+\sindex{Index} \sindex[env]{quote}
+\sindex[com]{index@\textbackslash index}
+\printindex[idx][Allgemeiner Index]
+\printindex[com] \printindex[env]
+\end{document}