summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/einfuehrung/14-03-13.ltx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-04-15 22:17:44 +0000
committerKarl Berry <karl@freefriends.org>2012-04-15 22:17:44 +0000
commitc033e56d30c4f9094e91e2d2d3f24214d284bfb3 (patch)
tree839eed7929503d0e4d476c3d5291ce9feb1dd3dd /Master/texmf-dist/doc/latex/einfuehrung/14-03-13.ltx
parente0f85da6adf952070a8fa338c9de4ba079040e96 (diff)
einfuehrung (15apr12)
git-svn-id: svn://tug.org/texlive/trunk@25980 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/einfuehrung/14-03-13.ltx')
-rw-r--r--Master/texmf-dist/doc/latex/einfuehrung/14-03-13.ltx9
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/einfuehrung/14-03-13.ltx b/Master/texmf-dist/doc/latex/einfuehrung/14-03-13.ltx
index 57047c6f46f..f20a36c6f2f 100644
--- a/Master/texmf-dist/doc/latex/einfuehrung/14-03-13.ltx
+++ b/Master/texmf-dist/doc/latex/einfuehrung/14-03-13.ltx
@@ -1,9 +1,11 @@
%%
%% Ein Beispiel der DANTE-Edition
+%%
+%% 1. Auflage
%%
%% Beispiel 14-03-13 auf Seite 720.
%%
-%% Copyright (C) 2012 Herbert Voss
+%% Copyright (C) 2011 Herbert Voss
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3
@@ -15,6 +17,7 @@
%% ====
% Show page(s) 1
%%
+%%
\documentclass[ngerman]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{352.81416pt}
@@ -37,10 +40,10 @@
\lstdefinestyle{DTKlstNumber}{style=DTKlstBase,numbers=left,numberstyle=\tiny\ttfamily,
numbersep=1em,xleftmargin=1.5em,}
\lstdefinestyle{DTKlstNoNumber}{style=DTKlstBase,numbers=none,xleftmargin=\fboxsep}
-
+\StartShownPreambleCommands
\usepackage{listings,xcolor,microtype}
\lstnewenvironment{DTKlisting}[1][]{\lstset{style=DTKlstNumber,#1}}{}
-
+\StopShownPreambleCommands
\begin{document}
\begin{DTKlisting}[language=Python]
def bubblesort(iterable):