From e2c81594bc88cea1077722b7b278448e150b6509 Mon Sep 17 00:00:00 2001 From: Thorsten Glaser <thorsten.glaser@teckids.org> Date: Sun, 11 Jan 2015 21:51:53 +0100 Subject: [PATCH] =?UTF-8?q?[verein.git]=20I=20got=20fed=20up=20with=20list?= =?UTF-8?q?ings=20in=20proportional=20font,=20so=20I=20fixed=20it.=20Now,?= =?UTF-8?q?=20the=20only=20ugly=20things=20are=20the=20=E2=80=980=E2=80=99?= =?UTF-8?q?=20stroke=20being=20wrong=20(should=20be=20bottom-left=20to=20t?= =?UTF-8?q?op-right)=20and=20the=20ugly=20lila=20and=20blue=20colours?= =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- teckidspubmat.cls | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/teckidspubmat.cls b/teckidspubmat.cls index f3ccbb6..c0e7bc5 100644 --- a/teckidspubmat.cls +++ b/teckidspubmat.cls @@ -50,3 +50,28 @@ Lizenziert unter einer Creative Commons Namensnennung - \linebreak 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{\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}, +} +} -- GitLab