mirror of
https://gitlab.com/netravnen/NetworkLabNotes.git
synced 2024-11-23 19:17:54 +00:00
Updated Main.tex and Structure.tex and moved all content to folder
chapter
This commit is contained in:
parent
63bf957a87
commit
ae6db5ede3
4
main.tex
4
main.tex
|
@ -32,7 +32,9 @@
|
|||
|
||||
\import{chapter/}{baseconf}
|
||||
|
||||
\import{chapter/}{protocols}
|
||||
\import{chapter/}{layer2protocols}
|
||||
|
||||
\import{chapter/}{layer3protocols}
|
||||
|
||||
\import{chapter/}{internet}
|
||||
|
||||
|
|
|
@ -19,32 +19,11 @@
|
|||
\usepackage{titlepic}
|
||||
|
||||
|
||||
\input{layout/color} % Load user-defined colors. Some which are used when generating source code listings
|
||||
\geometry{a4paper,margin=2cm}
|
||||
\setlength{\columnsep}{1.5cm}
|
||||
\setlength{\headheight}{15pt}
|
||||
|
||||
|
||||
\geometry{a4paper,margin=4em}
|
||||
|
||||
|
||||
\lstdefinestyle{mystyle}{
|
||||
backgroundcolor=\color{backcolour},
|
||||
commentstyle=\color{codegreen},
|
||||
keywordstyle=\color{magenta},
|
||||
numberstyle=\tiny\color{codegray},
|
||||
stringstyle=\color{codepurple},
|
||||
basicstyle=\footnotesize,
|
||||
breakatwhitespace=false,
|
||||
breaklines=true,
|
||||
captionpos=b,
|
||||
keepspaces=true,
|
||||
numbers=left,
|
||||
numbersep=5pt,
|
||||
showspaces=false,
|
||||
showstringspaces=false,
|
||||
showtabs=false,
|
||||
tabsize=4
|
||||
}
|
||||
\lstset{style=mystyle}
|
||||
|
||||
% Path where images are located relative
|
||||
% to the file main.tex
|
||||
\graphicspath{{img/}{figures/}}
|
||||
|
@ -75,8 +54,27 @@
|
|||
\setlist[itemize,1]{leftmargin=\dimexpr 26pt-.2cm}
|
||||
\setlist[itemize,2]{leftmargin=\dimexpr 26pt-.3cm}
|
||||
|
||||
\setlength{\headheight}{15pt}
|
||||
\setlength{\columnsep}{2em}
|
||||
|
||||
\subimport{.}{commands} % Import user-defined commands
|
||||
|
||||
\subimport{./}{commands} % Import user-defined commands
|
||||
\input{layout/color} %user-defined colors
|
||||
|
||||
\lstdefinestyle{mystyle}{
|
||||
backgroundcolor=\color{backcolour},
|
||||
commentstyle=\color{codegreen},
|
||||
keywordstyle=\color{magenta},
|
||||
numberstyle=\tiny\color{codegray},
|
||||
stringstyle=\color{codepurple},
|
||||
basicstyle=\footnotesize,
|
||||
breakatwhitespace=false,
|
||||
breaklines=true,
|
||||
captionpos=b,
|
||||
keepspaces=true,
|
||||
numbers=left,
|
||||
numbersep=5pt,
|
||||
showspaces=false,
|
||||
showstringspaces=false,
|
||||
showtabs=false,
|
||||
tabsize=4
|
||||
}
|
||||
\lstset{style=mystyle}
|
Loading…
Reference in a new issue