From b78e70f061e23006a5a80208d8b8613a4d3645d3 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 20 Nov 2013 12:00:06 +0100 Subject: thesis.sty: Fix code boxes --- thesis.sty | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/thesis.sty b/thesis.sty index 8c84364..94e8a50 100644 --- a/thesis.sty +++ b/thesis.sty @@ -6,9 +6,11 @@ \setlength{\textwidth}{17.5cm} \usepackage{listings} -\lstset{ - basicstyle=\singlespacing -} +\lstset{aboveskip=0pt,belowskip=0pt} +\lstset{basicstyle=\footnotesize\ttfamily,breaklines=true} +\lstset{frame=bottomline} +\lstset{xleftmargin=\parindent} + \let\oldtableofcontents\tableofcontents \def\tableofcontents{ -- cgit