mirror of
https://gitlab.com/netravnen/NetworkLabNotes.git
synced 2024-11-23 19:17:54 +00:00
Merge branch 'chapter/spanningtree' into develop
* chapter/spanningtree: spanningtree.tex: Added codeblock showing STP Bridge ID Frame structure.tex: fixing \lstdefinestyle{mystyle}{} Commited report version 0.1.0
This commit is contained in:
commit
de3a280b82
|
@ -377,3 +377,9 @@ It is the network admins job to propagate an even configuration to all switches
|
|||
|
||||
\fig{spanningtree/mstregions2}{mstregions2}{MST Regions vlans mapped to different instances.}
|
||||
|
||||
\begin{lstlisting}[language=TeX,numbers=none,frame=trBL,frameround=fttt,backgroundcolor=\color{white}]
|
||||
+----------+-----------+---------+
|
||||
| Bridge | Extended | MAC |
|
||||
| priority | system ID | Address |
|
||||
+----------+-----------+---------+
|
||||
\end{lstlisting}
|
|
@ -5,7 +5,7 @@
|
|||
\usepackage{geometry}
|
||||
\usepackage{listings}
|
||||
\usepackage{color}
|
||||
\usepackage[usenames,dvipsnames]{xcolor}
|
||||
\usepackage[usenames,dvipsnames,svgnames]{xcolor}
|
||||
\usepackage{graphicx}
|
||||
\usepackage[numbers,square,sectionbib,comma,nonamebreak,elide]{natbib}
|
||||
\usepackage{float}
|
||||
|
@ -82,22 +82,29 @@
|
|||
|
||||
|
||||
\lstdefinestyle{mystyle}{
|
||||
language=TeX,
|
||||
backgroundcolor=\color{backcolour},
|
||||
commentstyle=\color{codegreen},
|
||||
commentstyle=\color{codegreen}\ttfamily,
|
||||
keywordstyle=\color{magenta},
|
||||
numberstyle=\tiny\color{codegray},
|
||||
stringstyle=\color{codepurple},
|
||||
basicstyle=\footnotesize,
|
||||
basicstyle=\scriptsize\ttfamily,
|
||||
breakatwhitespace=false,
|
||||
breaklines=true,
|
||||
captionpos=b,
|
||||
keepspaces=true,
|
||||
numbers=left,
|
||||
numbersep=5pt,
|
||||
showspaces=false,
|
||||
showstringspaces=false,
|
||||
showtabs=false,
|
||||
tabsize=4
|
||||
tabsize=4,
|
||||
abovecaptionskip=5em,
|
||||
aboveskip=3em,
|
||||
belowcaptionskip=5em,
|
||||
belowskip=3em,
|
||||
upquote=true,
|
||||
numbersep=8pt,
|
||||
rulecolor=\color{black},
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue