From 518ecab91d3ba3e64e0ef285277e1e33dbed4f0c Mon Sep 17 00:00:00 2001 From: Thomas Klaehn Date: Thu, 5 Jan 2017 17:29:23 +0100 Subject: [PATCH] default source listing fontsize for default listing changed --- config/framework.tex | 1 + config/sourcelst.tex | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/config/framework.tex b/config/framework.tex index 100af6d..765f255 100644 --- a/config/framework.tex +++ b/config/framework.tex @@ -42,6 +42,7 @@ citecolor = black]{hyperref}% \tableofcontents \input{config/headfoot.tex} \newpage +\lstsetdefault \input{content.tex} \lstsetdefault \end{document} diff --git a/config/sourcelst.tex b/config/sourcelst.tex index 4969fee..ab88443 100644 --- a/config/sourcelst.tex +++ b/config/sourcelst.tex @@ -4,10 +4,13 @@ \newcommand{\lstsetdefault} {\lstset { +aboveskip=\baselineskip, +belowskip=\baselineskip, language=bash, tabsize=4, frame=single, -basicstyle=\ttfamily\small, +%basicstyle=\ttfamily\small, +basicstyle=\ttfamily\scriptsize, commentstyle=\color{black}, keywordstyle=\color{black} } @@ -16,6 +19,8 @@ keywordstyle=\color{black} \newcommand{\lstsetc} {\lstset { +aboveskip=\baselineskip, +belowskip=\baselineskip, language=[ANSI]C, numbers=left, tabsize=4, @@ -29,6 +34,8 @@ keywordstyle=\color{blue}\textbf \newcommand{\lstsetmake} {\lstset { +aboveskip=\baselineskip, +belowskip=\baselineskip, language=make, numbers=left, tabsize=4, @@ -42,6 +49,8 @@ keywordstyle=\color{blue}\textbf \newcommand{\lstsetbash} {\lstset { +aboveskip=\baselineskip, +belowskip=\baselineskip, language=bash, tabsize=4, frame=single,