Skip to content
Snippets Groups Projects
Commit 58b78cd8 authored by mirabilos's avatar mirabilos
Browse files

[verein.git] now that docs/git-intro.pdf properly fails the build, we can fix...

[verein.git] now that docs/git-intro.pdf properly fails the build, we can fix t̲h̲a̲t̲ issue by moving \listingsinpython out of teckidspubmat and into generic code
parent e2c81594
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
% Copyright © 2013 % Copyright © 2013
% Dominik George <nik@naturalnet.de> % Dominik George <nik@naturalnet.de>
% %
% Copyright © 2014 % Copyright © 2014, 2015
% Thorsten “mirabilos” Glaser <thorsten.glaser@teckids.org> % Thorsten “mirabilos” Glaser <thorsten.glaser@teckids.org>
% %
% Provided that these terms and disclaimer and all copyright notices % Provided that these terms and disclaimer and all copyright notices
...@@ -156,3 +156,28 @@ ...@@ -156,3 +156,28 @@
\fancyfoot{}% \fancyfoot{}%
\fi% \fi%
} }
\newcommand{\listingsinpython}{\definecolor{listinggray}{gray}{0.9}
\definecolor{lbcolor}{rgb}{0.9,0.9,0.9}
\lstset{
backgroundcolor=\color{lbcolor},
tabsize=4,
rulecolor=,
language=python,
basicstyle=\ttfamily,
upquote=true,
aboveskip={1.5\baselineskip},
columns=fixed,
showstringspaces=false,
extendedchars=true,
breaklines=true,
prebreak = \raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}},
frame=single,
showtabs=false,
showspaces=false,
showstringspaces=false,
keywordstyle=\color[rgb]{0,0,1},
commentstyle=\color[rgb]{0.133,0.545,0.133},
stringstyle=\color[rgb]{0.627,0.126,0.941},
}
}
...@@ -50,28 +50,3 @@ Lizenziert unter einer Creative Commons Namensnennung - \linebreak ...@@ -50,28 +50,3 @@ Lizenziert unter einer Creative Commons Namensnennung - \linebreak
Weitergabe unter gleichen Bedingungen 3.0 Deutschland Lizenz.} Weitergabe unter gleichen Bedingungen 3.0 Deutschland Lizenz.}
} }
\newcommand{\teckidspubmatnamegroup}{\vspace{2cm}Name: \line(1,0){200}\hfill{}Klasse: \line(1,0){50}\hfill{}Gruppe: \line(1,0){50}} \newcommand{\teckidspubmatnamegroup}{\vspace{2cm}Name: \line(1,0){200}\hfill{}Klasse: \line(1,0){50}\hfill{}Gruppe: \line(1,0){50}}
\newcommand{\listingsinpython}{\definecolor{listinggray}{gray}{0.9}
\definecolor{lbcolor}{rgb}{0.9,0.9,0.9}
\lstset{
backgroundcolor=\color{lbcolor},
tabsize=4,
rulecolor=,
language=python,
basicstyle=\ttfamily,
upquote=true,
aboveskip={1.5\baselineskip},
columns=fixed,
showstringspaces=false,
extendedchars=true,
breaklines=true,
prebreak = \raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}},
frame=single,
showtabs=false,
showspaces=false,
showstringspaces=false,
keywordstyle=\color[rgb]{0,0,1},
commentstyle=\color[rgb]{0.133,0.545,0.133},
stringstyle=\color[rgb]{0.627,0.126,0.941},
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment