mirror of
https://gitlab.com/netravnen/NetworkLabNotes.git
synced 2024-11-23 19:17:54 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
af22ccb611
|
@ -1,25 +0,0 @@
|
||||||
\newcommand{\boxalert}[1]{{
|
|
||||||
\usebeamercolor{alerted text}
|
|
||||||
\colorbox{bg}{\alert{#1}}
|
|
||||||
}}
|
|
||||||
|
|
||||||
\newtcblisting{cisco}[1][]{
|
|
||||||
size=fbox,
|
|
||||||
listing only,
|
|
||||||
listing options={
|
|
||||||
style=tcblatex,
|
|
||||||
basicstyle=\ttfamily\scriptsize,
|
|
||||||
tabsize=1,
|
|
||||||
language=sh,
|
|
||||||
breaklines=false,
|
|
||||||
columns=fullflexible
|
|
||||||
},
|
|
||||||
#1
|
|
||||||
}
|
|
||||||
|
|
||||||
\newcommand{\pic}[2]{
|
|
||||||
\begin{center}
|
|
||||||
\transparent{0.4}
|
|
||||||
\includegraphics[height=#1]{#2}
|
|
||||||
\end{center}
|
|
||||||
}
|
|
10
main.tex
10
main.tex
|
@ -15,11 +15,19 @@
|
||||||
% to the file main.tex
|
% to the file main.tex
|
||||||
\graphicspath{{img/}}
|
\graphicspath{{img/}}
|
||||||
|
|
||||||
|
% Custom commands
|
||||||
\newcommand{\insertoutput}[1]{
|
\newcommand{\insertoutput}[1]{
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\includegraphics[width=12cm]{#1}
|
\includegraphics[width=12cm]{#1}
|
||||||
\end{center}
|
\end{center}
|
||||||
}
|
}
|
||||||
|
\newcommand{\pic}[2]{
|
||||||
|
\begin{center}
|
||||||
|
\transparent{0.4}
|
||||||
|
\includegraphics[height=#1]{#2}
|
||||||
|
\end{center}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
% In which order to look after images in
|
% In which order to look after images in
|
||||||
% declared graphicspath{}'s
|
% declared graphicspath{}'s
|
||||||
|
@ -60,6 +68,7 @@
|
||||||
% <!-- ROUTER -->
|
% <!-- ROUTER -->
|
||||||
|
|
||||||
\subsection{Router}
|
\subsection{Router}
|
||||||
|
|
||||||
\subsubsection{File: base.cfg}
|
\subsubsection{File: base.cfg}
|
||||||
\inputminted[frame=lines,framesep=2mm,baselinestretch=1.2,bgcolor=lightgray,fontsize=\footnotesize,linenos,breaklines=true]{powershell}{code/router/base.cfg}
|
\inputminted[frame=lines,framesep=2mm,baselinestretch=1.2,bgcolor=lightgray,fontsize=\footnotesize,linenos,breaklines=true]{powershell}{code/router/base.cfg}
|
||||||
\subsubsection{File: reset.tcl}
|
\subsubsection{File: reset.tcl}
|
||||||
|
@ -68,6 +77,7 @@
|
||||||
% <!-- SWITCH -->
|
% <!-- SWITCH -->
|
||||||
|
|
||||||
\subsection{Switch}
|
\subsection{Switch}
|
||||||
|
|
||||||
\subsubsection{File: base.cfg}
|
\subsubsection{File: base.cfg}
|
||||||
\inputminted[frame=lines,framesep=2mm,baselinestretch=1.2,bgcolor=lightgray,fontsize=\footnotesize,linenos,breaklines=true]{powershell}{code/switch/base.cfg}
|
\inputminted[frame=lines,framesep=2mm,baselinestretch=1.2,bgcolor=lightgray,fontsize=\footnotesize,linenos,breaklines=true]{powershell}{code/switch/base.cfg}
|
||||||
\subsubsection{File: reset.tcl}
|
\subsubsection{File: reset.tcl}
|
||||||
|
|
Loading…
Reference in a new issue