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