default source listing
fontsize for default listing changed
This commit is contained in:
parent
00256c439d
commit
518ecab91d
@ -42,6 +42,7 @@ citecolor = black]{hyperref}%
|
|||||||
\tableofcontents
|
\tableofcontents
|
||||||
\input{config/headfoot.tex}
|
\input{config/headfoot.tex}
|
||||||
\newpage
|
\newpage
|
||||||
|
\lstsetdefault
|
||||||
\input{content.tex}
|
\input{content.tex}
|
||||||
\lstsetdefault
|
\lstsetdefault
|
||||||
\end{document}
|
\end{document}
|
||||||
|
@ -4,10 +4,13 @@
|
|||||||
\newcommand{\lstsetdefault}
|
\newcommand{\lstsetdefault}
|
||||||
{\lstset
|
{\lstset
|
||||||
{
|
{
|
||||||
|
aboveskip=\baselineskip,
|
||||||
|
belowskip=\baselineskip,
|
||||||
language=bash,
|
language=bash,
|
||||||
tabsize=4,
|
tabsize=4,
|
||||||
frame=single,
|
frame=single,
|
||||||
basicstyle=\ttfamily\small,
|
%basicstyle=\ttfamily\small,
|
||||||
|
basicstyle=\ttfamily\scriptsize,
|
||||||
commentstyle=\color{black},
|
commentstyle=\color{black},
|
||||||
keywordstyle=\color{black}
|
keywordstyle=\color{black}
|
||||||
}
|
}
|
||||||
@ -16,6 +19,8 @@ keywordstyle=\color{black}
|
|||||||
\newcommand{\lstsetc}
|
\newcommand{\lstsetc}
|
||||||
{\lstset
|
{\lstset
|
||||||
{
|
{
|
||||||
|
aboveskip=\baselineskip,
|
||||||
|
belowskip=\baselineskip,
|
||||||
language=[ANSI]C,
|
language=[ANSI]C,
|
||||||
numbers=left,
|
numbers=left,
|
||||||
tabsize=4,
|
tabsize=4,
|
||||||
@ -29,6 +34,8 @@ keywordstyle=\color{blue}\textbf
|
|||||||
\newcommand{\lstsetmake}
|
\newcommand{\lstsetmake}
|
||||||
{\lstset
|
{\lstset
|
||||||
{
|
{
|
||||||
|
aboveskip=\baselineskip,
|
||||||
|
belowskip=\baselineskip,
|
||||||
language=make,
|
language=make,
|
||||||
numbers=left,
|
numbers=left,
|
||||||
tabsize=4,
|
tabsize=4,
|
||||||
@ -42,6 +49,8 @@ keywordstyle=\color{blue}\textbf
|
|||||||
\newcommand{\lstsetbash}
|
\newcommand{\lstsetbash}
|
||||||
{\lstset
|
{\lstset
|
||||||
{
|
{
|
||||||
|
aboveskip=\baselineskip,
|
||||||
|
belowskip=\baselineskip,
|
||||||
language=bash,
|
language=bash,
|
||||||
tabsize=4,
|
tabsize=4,
|
||||||
frame=single,
|
frame=single,
|
||||||
|
Loading…
Reference in New Issue
Block a user