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,