Skip to content

Commit

Permalink
Overfull hboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Marcoen committed Nov 16, 2023
1 parent e6b143a commit ce016dd
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 15 deletions.
14 changes: 7 additions & 7 deletions bib/bibliography.bib
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ @book{coleman
edition = 5,
pagetotal = 1024,
year = 2018,
isbn = "978-1-119425786",
isbn = "978-1-119-42578-6",
publisher = "Sybex",
annotation = "
I have not yet read this book but the reviews look promising.
Expand All @@ -54,7 +54,7 @@ @book{comer
edition = 6,
pagetotal = 632,
year = 2013,
isbn = "978-1-292040813",
isbn = "978-1-292-04081-3",
publisher = "Pearson",
annotation = "
Comer is an internationally recognized authority on \acs{TCP}/\acs{IP} and internetworking.
Expand All @@ -74,7 +74,7 @@ @book{doyle
year = 2005,
pagetotal = 911,
publisher = "Cisco Press",
isbn = "978-1-587052026",
isbn = "978-1-587-05202-6",
annotation = "
This huge tome is one of the master pieces on routing protocols.
It is, however, pretty advanced so you might want to wait with this book until you have thoroughly mastered all concepted covered in \textcite{lammle-ccna} and desire to know even more details.
Expand Down Expand Up @@ -128,7 +128,7 @@ @book{lammle-ccna
pagetotal = 896,
publisher = "Sybex",
year = 2020,
isbn = "978-1-119659181",
isbn = "978-1-119-65918-1",
annotation = "
A must read if you want to further your carreer in computer networking.
Cisco's \SC{CCNA} certification is the best way to get started as a network engineer and Todd Lammle is one of the best authors for networking books.
Expand Down Expand Up @@ -189,7 +189,7 @@ @book{ramirez
author = "Nick Ramirez",
year = 2016,
pagetotal = 200,
isbn = "978-1519073846",
isbn = "978-1-519-07384-6",
annotation = "
This book is a good resource to get start with open-source load balancing on Unix systems.
"
Expand All @@ -213,7 +213,7 @@ @book{sanders
year = 2017,
pagetotal = 368,
publisher = "No Starch Press",
isbn = "978-1-593278021",
isbn = "978-1-593-27802-1",
annotation = "
While \textcite{bock,chappell17} teach you how Wireshark works and perform captures, this book teaches how to harness this new-found power to troubleshoot real-live network problems.
I have not yet read the book myself but as a recommendation from Chris Greer, I certainly put it on my list of books to buy and, hopefully, find time to read.
Expand Down Expand Up @@ -282,7 +282,7 @@ @book{woland
pagetotal = 750,
year = 2020,
publisher = "Cisco Press",
isbn = "9780136642947",
isbn = "978-0-136-64294-7",
annotation = "
A thome of knowledge, this book covers everything on how Cisco does \acf{NAC}.
"
Expand Down
6 changes: 2 additions & 4 deletions chapters/introduction.tex
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ \section{Network size}

\paragraph{\gls{SAN}}%
\iacs{SAN}
A computer network which provides access to consolidated, block-level data storage.%
A computer network that provides access to consolidated, block-level data storage.%
\footnote{This term does not belong is this list as it says nothing about the size of the network but all about its purpose; the network exists to support storage traffic.}
\glspl{SAN} are primarily used to access data storage devices, such as disk arrays and tape libraries from servers so that the devices appear to the operating system as direct-attached storage.
A \gls{SAN} typically is a dedicated network of storage devices not accessible through the local-area network.
Expand Down Expand Up @@ -267,7 +267,7 @@ \subsection{Wide-area networks}

\begin{figure}
\centering
\includegraphics[width=.5\textwidth]{images/introduction/thompson.png}
\includegraphics[width=\textwidth]{images/introduction/thompson.png}
\caption%
[Thompson and Ritchie working on a \SC{PDP-11}]%
{Ken Thompson (sitting) and Dennis Ritchie working on a \SC{PDP-11}, circa~1970. The picture was taken by Peter Hamer and the line drawing was made by \href{https://www.truecable.com/blogs/cable-academy/a-brief-history-of-network-technology}{truecable.com}.}
Expand Down Expand Up @@ -486,10 +486,8 @@ \section{Encapsulation}
That is, the transport layer on the sender's side communicates with the transport layer on the receiver's side and the network layer on the sender's side communicates with the corresponding layer on the receiver's side.

\begin{figure}
\begin{fullwidth}
\centering
\input{images/introduction/data-encapsulation}
\end{fullwidth}
\caption[Encapsulation and decapsulation of packets]{%
Data encapsulation at the source and decapsulation at the destination.
Each layer adds its own header, but the data link layer also adds a trailer.
Expand Down
2 changes: 1 addition & 1 deletion chapters/ip.tex
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ \section{A bit of history}
\item
Not all hardware fully support \acs{IP} version~6 yet so even should we want to roll out \acs{IP} version~6 company-wide we would not have the same feature set available as when using \acs{IP} version~4.
\item
Even though \acs{IP} version~6 development started over twenty years ago, they still not have made up their mind on what they want it to look like and standard continue to change.
Even though \acs{IP} version~6 development started more than twenty years ago, they still not have made up their mind on what they want it to look like and standard continue to change.
\end{itemize}
Expand Down
Binary file modified images/applications/recursive-resolver.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions images/introduction/data-encapsulation.tex
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
minimum size=8mm,
inner sep=0mm
]
\begin{tikzpicture}
\begin{scaletikzpicturetowidth}{\textwidth}
\begin{tikzpicture}[scale=\tikzscale]

% two network stacks
\node[layer] (a1) {application};
Expand Down Expand Up @@ -65,4 +66,5 @@
\draw[red arrow] (d1) to node[packet data] (dd) {data}
node[packet header,left of=dd,node distance=10mm] (hd1) {t} node[packet header,left of=dd,node distance=18mm] (hd2) {n} node[packet header,left of=dd,node distance=26mm] (hd3) {d} node[packet header,right of=dd,node distance=10mm] (td) {d}
(d2);
\end{tikzpicture}
\end{tikzpicture}
\end{scaletikzpicturetowidth}
15 changes: 14 additions & 1 deletion tex/preamble.tex
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,20 @@
\usepackage{pgf-pie}
\usetikzlibrary{arrows}
\usetikzlibrary{calc}

% Used to scale the tikzpicture to \textwidth
\usepackage{environ}
\makeatletter
\newsavebox{\measure@tikzpicture}
\NewEnviron{scaletikzpicturetowidth}[1]{%
\def\tikz@width{#1}%
\def\tikzscale{1}\begin{lrbox}{\measure@tikzpicture}%
\BODY
\end{lrbox}%
\pgfmathparse{#1/\wd\measure@tikzpicture}%
\edef\tikzscale{\pgfmathresult}%
\BODY
}
\makeatother


% ============================================================
Expand Down

0 comments on commit ce016dd

Please sign in to comment.