default source listing

fontsize for default listing changed
This commit is contained in:
Thomas Klaehn 2017-01-05 17:29:23 +01:00
parent 00256c439d
commit 518ecab91d
2 changed files with 11 additions and 1 deletions

View File

@ -42,6 +42,7 @@ citecolor = black]{hyperref}%
\tableofcontents
\input{config/headfoot.tex}
\newpage
\lstsetdefault
\input{content.tex}
\lstsetdefault
\end{document}

View File

@ -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,