From f2fb432b14a3c467c6ddfee4a19874fea886307d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 6 Feb 2012 00:47:46 +0000 Subject: new examples from (voss) german book einfuehrung (2feb12) git-svn-id: svn://tug.org/texlive/trunk@25301 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/einfuehrung/14-03-15.ltx2crop | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/einfuehrung/14-03-15.ltx2crop (limited to 'Master/texmf-dist/doc/latex/einfuehrung/14-03-15.ltx2crop') diff --git a/Master/texmf-dist/doc/latex/einfuehrung/14-03-15.ltx2crop b/Master/texmf-dist/doc/latex/einfuehrung/14-03-15.ltx2crop new file mode 100644 index 00000000000..352aea312ae --- /dev/null +++ b/Master/texmf-dist/doc/latex/einfuehrung/14-03-15.ltx2crop @@ -0,0 +1,38 @@ +%% +%% Ein Beispiel der DANTE-Edition +%% +%% Beispiel 14-03-15 auf Seite 720. +%% +%% 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== +% Show page(s) 2 +%% +\documentclass[ngerman]{exaarticle} +\pagestyle{empty} +\setlength\textwidth{142.324pt} +\usepackage{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage[scaled=0.85]{beramono} +\setlength{\parindent}{0em} + +\usepackage{listings,makeidx}\makeindex +\lstset{index={square,root}} + +\begin{document} +\begin{lstlisting} +for i:=maxint to 0 do +begin + j:=square(root(i)); +end; +\end{lstlisting} +\printindex +\end{document} -- cgit v1.2.3