From: Mart Lubbers Date: Mon, 3 Jul 2017 17:19:29 +0000 (+0200) Subject: fix all latex warnings X-Git-Tag: hand-in~1 X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=cd9fdb167f78b9481cdd29686a1a65daffeff940;p=msc-thesis1617.git fix all latex warnings --- diff --git a/appendix-protocol.tex b/appendix-protocol.tex index 10a85f3..489679c 100644 --- a/appendix-protocol.tex +++ b/appendix-protocol.tex @@ -82,7 +82,7 @@ interpreted as \gls{MSB} first integers. \section{\glspl{SDS}} \begin{table}[H] \centering - \begin{subfigure}[b]{.2\textwidth} + \begin{subfigure}[b]{.23\textwidth} \centering \begin{tabular}{ll} \toprule @@ -103,7 +103,7 @@ interpreted as \gls{MSB} first integers. \caption{Send an \gls{SDS} specification} \end{subfigure} \quad% - \begin{subfigure}[b]{.2\textwidth} + \begin{subfigure}[b]{.23\textwidth} \centering \begin{tabular}{ll} \toprule @@ -123,7 +123,7 @@ interpreted as \gls{MSB} first integers. \caption{Delete an \gls{SDS}\\~} \end{subfigure} \quad% - \begin{subfigure}[b]{.2\textwidth} + \begin{subfigure}[b]{.23\textwidth} \centering \begin{tabular}{ll} \toprule @@ -140,7 +140,7 @@ interpreted as \gls{MSB} first integers. \caption{\gls{SDS} update\\~} \end{subfigure} \quad% - \begin{subfigure}[b]{.2\textwidth} + \begin{subfigure}[b]{.23\textwidth} \centering \begin{tabular}{ll} \toprule diff --git a/arch.communication.tex b/arch.communication.tex index 56cab7c..d480797 100644 --- a/arch.communication.tex +++ b/arch.communication.tex @@ -196,7 +196,7 @@ device information. In this panel, the devices can be created and modified. Moreover, this panel allows the user to reconnect with a device after a restart of the server application. -\begin{figure}[H] +\begin{figure}[ht] \centering \includegraphics[width=\linewidth]{manage} \caption{The device management interface}\label{lst:manage} diff --git a/mtask.semantics.tex b/mtask.semantics.tex index 2cee3cc..bf8b910 100644 --- a/mtask.semantics.tex +++ b/mtask.semantics.tex @@ -15,7 +15,7 @@ time. When the waiting time has not passed; the delta is subtracted and the they are executed. When an \gls{mTask} opts to queue another \gls{mTask} it can just append it to the queue. -~\\ +\vspace{1em} \begin{algorithm}[H] \KwData{\textbf{queue} queue, \textbf{time} $t, t_p$} @@ -38,7 +38,7 @@ can just append it to the queue. \caption{Engine pseudocode for the \gls{C}- and \gls{iTasks}-view}\label{lst:engine} \end{algorithm} -~\\ +\vspace{1em} To achieve this in the \gls{EDSL} a \gls{Task} class is added that work in a similar fashion as the \texttt{sds} class. This class is listed in diff --git a/thesis.pre b/thesis.pre index 3272810..86a4889 100644 --- a/thesis.pre +++ b/thesis.pre @@ -16,6 +16,10 @@ \usepackage{epstopdf} % Eps graphics \usepackage{etoolbox} % Patch chapter command +% Fix fonts +\normalfont +\DeclareFontShape{OT1}{lmr}{bx}{sc} { <-> ssub * lmr/bx/n }{} + % Have better page numbering in chapters \patchcmd{\chapter}{plain}{headings}{}{} @@ -95,7 +99,7 @@ captionpos=b, keepspaces=true, basicstyle=\ttfamily\fontseries{l}\footnotesize, - commentstyle=\itshape\fontseries{m}, + commentstyle=\slshape\fontseries{m}, keywordstyle=\bfseries\fontseries{b}, stringstyle=\ttfamily, showspaces=false,