summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/einfuehrung/10-07-13.ltx2
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/einfuehrung/10-07-13.ltx2')
-rw-r--r--Master/texmf-dist/doc/latex/einfuehrung/10-07-13.ltx252
1 files changed, 52 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/einfuehrung/10-07-13.ltx2 b/Master/texmf-dist/doc/latex/einfuehrung/10-07-13.ltx2
new file mode 100644
index 00000000000..e7aa5aae0c6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/einfuehrung/10-07-13.ltx2
@@ -0,0 +1,52 @@
+%%
+%% Ein Beispiel der DANTE-Edition
+%%
+%% Beispiel 10-07-13 auf Seite 523.
+%%
+%% 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{166.324pt}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage[ngerman]{babel}
+\usepackage[paperwidth=8cm,paperheight=9cm]{geometry}
+
+\usepackage[makeindex,split]{splitidx}
+\usepackage{multicol}
+\newindex{idx}\newindex[Befehle]{com}
+\newindex[Umgebungen]{env}
+\setindexpreamble[com]{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]
+\begingroup
+\renewcommand\twocolumn[1][]{#1}
+\extendtheindex %
+ {} %
+ {\begin{multicols}{2}}%
+ {\end{multicols}} %
+ {}
+\printindex[com]
+\endgroup
+\printindex[env]
+\end{document}