1
0
Fork 0
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:
chhan11 2017-05-23 12:52:35 +02:00
parent 63bf957a87
commit ae6db5ede3
2 changed files with 28 additions and 28 deletions

View file

@ -32,7 +32,9 @@
\import{chapter/}{baseconf} \import{chapter/}{baseconf}
\import{chapter/}{protocols} \import{chapter/}{layer2protocols}
\import{chapter/}{layer3protocols}
\import{chapter/}{internet} \import{chapter/}{internet}

View file

@ -19,32 +19,11 @@
\usepackage{titlepic} \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 % Path where images are located relative
% to the file main.tex % to the file main.tex
\graphicspath{{img/}{figures/}} \graphicspath{{img/}{figures/}}
@ -75,8 +54,27 @@
\setlist[itemize,1]{leftmargin=\dimexpr 26pt-.2cm} \setlist[itemize,1]{leftmargin=\dimexpr 26pt-.2cm}
\setlist[itemize,2]{leftmargin=\dimexpr 26pt-.3cm} \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}