Added img for vtp to bibtex db

This commit is contained in:
chhan11 2017-05-22 16:02:02 +02:00
parent dd20fb5b78
commit d77361749c
4 changed files with 46 additions and 17 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

View File

@ -12,6 +12,7 @@
\usepackage{float} \usepackage{float}
\usepackage[english]{babel} \usepackage[english]{babel}
\usepackage{fancyhdr} \usepackage{fancyhdr}
\usepackage{wrapfig}
% Define color % Define color
\definecolor{codegreen}{rgb}{0,0.6,0} \definecolor{codegreen}{rgb}{0,0.6,0}
@ -42,24 +43,24 @@
% Path where images are located relative % Path where images are located relative
% to the file main.tex % to the file main.tex
\graphicspath{{img/}} \graphicspath{{img/}{figures/}}
% Custom commands % Custom commands
% Usage: \pic{ [<pct-of-testwidt>] }{ <path-to-file> } % Usage: \pic[<pct-of-testwidt>]{<path-to-file>}
\newcommand{\pic}[2][25]{ \newcommand{\pic}[2][25]{
\begin{center} \begin{center}
\transparent{0.4} \transparent{0.4}
\includegraphics[width=0.#1\textwidth]{#2} \includegraphics[width=0.#1\textwidth]{#2}
\end{center} \end{center}
} }
% Usage: \fig{ [<caption>] }{ <label> }{ <path-to-file> } % Usage: \rfig{<path-to-file>}{<label>}
\newcommand{\fig}[3][]{ \newcommand{\rfig}[2]{
\begin{figure}[h] \begin{wrapfigure}{r}{0.60\textwidth}
\centering \begin{center}
\includegraphics[width=0.25\textwidth]{#3} \includegraphics[width=0.58\textwidth]{#1}
\caption{#1} \end{center}
\label{fig:#2} \caption{#2}
\end{figure} \end{wrapfigure}
} }
% In which order to look after images in % In which order to look after images in
@ -161,8 +162,9 @@
\section{VLAN} \section{VLAN}
%\subsection{BPDU} \subsection{VTP}
%\subsection{} \rfig{vtp/implementing-vtp}{VTP}\cite{vtpchap4}
\section{Spanning Tree} \section{Spanning Tree}
@ -170,7 +172,6 @@
\subsection{PVST} \subsection{PVST}
\subsection{RPVST+} \subsection{RPVST+}
\subsection{MTP} \subsection{MTP}
\subsection{VTP}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -183,6 +184,15 @@
\section{BGP} \section{BGP}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% BEGIN REFERENCES %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\bibliographystyle{unsrt}
\bibliography{unsrt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % % %
% END DOCUMENT % % END DOCUMENT %

0
references.bib Normal file
View File

19
unsrt.bib Normal file
View File

@ -0,0 +1,19 @@
@online{vtpchap4,
ALTauthor = {Hector Camba Lainez},
ALTeditor = {editor},
title = {Cap4 implementing vtp},
date = {Jun 25, 2010},
url = {https://www.slideshare.net/lucky0679/cap4-implementing-vtp},
OPTsubtitle = {subtitle},
OPTtitleaddon = {titleaddon},
OPTlanguage = {language},
OPTversion = {version},
OPTnote = {note},
OPTorganization = {organization},
OPTdate = {22},
OPTmonth = {05},
OPTyear = {2017},
OPTaddendum = {addendum},
OPTpubstate = {pubstate},
OPTurldate = {2017-05-22},
}