Finish lab
This commit is contained in:
parent
88c32093a3
commit
6da3e784cd
9 changed files with 101 additions and 78 deletions
|
@ -38,28 +38,11 @@
|
|||
commentchar=* % comment character
|
||||
}
|
||||
|
||||
\lstdefinestyle{mystyle}{
|
||||
backgroundcolor=\color{backcolour},
|
||||
commentstyle=\color{codegreen},
|
||||
keywordstyle=\color{magenta},
|
||||
numberstyle=\tiny\color{codegray},
|
||||
stringstyle=\color{codepurple},
|
||||
emph={int,char,double,float,unsigned,void,bool},
|
||||
emphstyle={\color{weborange}},
|
||||
basicstyle=\ttfamily\footnotesize,
|
||||
breakatwhitespace=false,
|
||||
breaklines=true,
|
||||
captionpos=b,
|
||||
keepspaces=true,
|
||||
numbers=left,
|
||||
numbersep=5pt,
|
||||
showspaces=false,
|
||||
showstringspaces=false,
|
||||
showtabs=false,
|
||||
tabsize=2,
|
||||
firstnumber=1,
|
||||
}
|
||||
\lstset{style=mystyle}
|
||||
\lstset{language=Go,
|
||||
basicstyle=\ttfamily\scriptsize,
|
||||
keywordstyle=\color{blue}\ttfamily,
|
||||
stringstyle=\color{red}\ttfamily,
|
||||
commentstyle=\color{green}\ttfamily}
|
||||
|
||||
\setuptoc{toc}{totoc}
|
||||
|
||||
|
|
Reference in a new issue