From e8649e7b14ae68ff1ac733469514eaec6d712cff Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 16 Jun 2017 13:45:06 +0200 Subject: thesis/thesis.tex: Rearranging preamble includes to make xcolor work properly. Renaming HoaLibrary subsection. Introducing rowcolors to all tables for better readibility. Elaborating further on (non-)standard OSC tag types in the table about tag types. --- thesis/thesis.tex | 48 +++++++++++++++++++++++++++++++++--------------- 1 file changed, 33 insertions(+), 15 deletions(-) diff --git a/thesis/thesis.tex b/thesis/thesis.tex index 622b52a..8e8d25c 100644 --- a/thesis/thesis.tex +++ b/thesis/thesis.tex @@ -3,6 +3,16 @@ \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{textcomp} +\usepackage[dvipsnames,table]{xcolor} +\definecolor{osc-out}{RGB}{150,0,255} +\definecolor{osc-in}{RGB}{0,0,255} +\definecolor{audio-in}{RGB}{255,0,0} +\definecolor{audio-out}{RGB}{0,206,0} +\definecolor{pubsub-in}{RGB}{128,0,0} +\definecolor{controller-in}{RGB}{0,128,0} +\definecolor{table-background-one}{RGB}{194,195,194} +\definecolor{table-background-two}{RGB}{210,213,210} + \usepackage{listings} \lstdefinelanguage{Ini}{basicstyle=\ttfamily\tiny, columns=fullflexible, @@ -11,22 +21,20 @@ usekeywordsintag=true }[html] \lstdefinelanguage{bash}{basicstyle=\ttfamily\tiny} + \usepackage{ulem} \usepackage{lmodern} \usepackage{multirow} \usepackage{url} \usepackage{graphicx} \usepackage{pdfpages} + \usepackage{float} \floatstyle{boxed} \restylefloat{figure} -\usepackage[usenames,dvipsnames,svgnames,table]{xcolor} -\definecolor{osc-out}{RGB}{150,0,255} -\definecolor{osc-in}{RGB}{0,0,255} -\definecolor{audio-in}{RGB}{255,0,0} -\definecolor{audio-out}{RGB}{0,206,0} -\definecolor{pubsub-in}{RGB}{128,0,0} -\definecolor{controller-in}{RGB}{0,128,0} + +\usepackage{tocloft} +\setcounter{secnumdepth}{4} \usepackage{hyperref} \hypersetup{hidelinks, colorlinks = false} @@ -46,7 +54,6 @@ \newacronym{cc}{CC}{Creative Commons} \newacronym{fdl}{FDL}{GNU Free Documentation License} \newacronym{gpl}{GPL}{GNU General Public License} -\newacronym{gpl}{GPL}{GNU General Public License} \newacronym{lgpl}{LGPL}{GNU Lesser General Public License} \newacronym{lts}{LTS}{Long Term Support} \newacronym{hoa}{HOA}{Higher Order Ambisonics} @@ -69,9 +76,6 @@ \makeindex \makeglossaries -\usepackage{tocloft} -\setcounter{secnumdepth}{4} - \graphicspath{{../images//}} \begin{document} @@ -213,8 +217,8 @@ has a complex setup chain and many bugs, that are not likely to get fixed any time soon. - \subsection{HOA-Pd} - \label{subsec:hoapd} + \subsection{HoaLibrary for PureData} + \label{subsec:hoalibraryforpd} \subsection{3Dj (SuperCollider Quark)} \label{subsec:3djsupercolliderquark} @@ -490,6 +494,7 @@ \begin{table}[!htb] \scriptsize \centering + \rowcolors{2}{table-background-one}{table-background-two} \begin{tabular}{ p{2cm} | p{8cm} } \textbf{\gls{osc} type tag} & \textbf{Type} \\ \texttt{i} & int32 \\ @@ -497,6 +502,7 @@ \texttt{s} & \gls{osc}-string \\ \texttt{b} & \gls{osc}-blob \\ \hline + \hline \texttt{h} & 64 bit big-endian two's complement integer\\ \texttt{t} & \gls{osc}-timetag\\ \texttt{d} & 64 bit (“double”) IEEE 754 floating point number\\ @@ -516,7 +522,12 @@ \texttt{]} & Indicates the end of an array.\\ \end{tabular} \caption{Acronyms (type tags) for atomic data types, used in \gls{osc} - messages and bundles \citep{website:oscv1.0}.} + messages and bundles \citep{website:oscv1.0}.}\\ + The first four types define the standard \gls{osc} type tags, which + should be understood by all implementations. The remaining are + non-standard types, that are implemented by most (e.g. + \nameref{subsubsec:liblo} implements all but array and RGBA color + type). \label{tab:ssr-osc-data-type-acronyms} \end{table} @@ -550,11 +561,12 @@ the executional flow of the rest of the program.\\ The ServerThread class is able to free its ressources upon going ot of scope, known as \gls{raii}. For this reason, the latest development - version instead of the current stable version of liblo was chosen for + version, instead of the current stable version of liblo was chosen for the implementation. \subsubsection{Client-Server setup} \label{subsubsec:client_server_setup} + \begin{figure}[!htb] \centering \includegraphics[scale=1.0, trim = 20mm 204mm 10mm 10mm, clip] @@ -656,6 +668,7 @@ \begin{table}[!htb] \scriptsize \centering + \rowcolors{2}{table-background-one}{table-background-two} \caption*{(Data types and their acronyms are listed in Table~\ref{tab:ssr-osc-data-type-acronyms}.) } @@ -695,6 +708,7 @@ \begin{table}[!htb] \scriptsize \centering + \rowcolors{2}{table-background-one}{table-background-two} \caption*{(Data types and their acronyms are listed in Table~\ref{tab:ssr-osc-data-type-acronyms}.) } @@ -732,6 +746,7 @@ \begin{table}[!htb] \scriptsize \centering + \rowcolors{2}{table-background-one}{table-background-two} \caption*{(Data types and their acronyms are listed in Table~\ref{tab:ssr-osc-data-type-acronyms}.) } @@ -761,6 +776,7 @@ \begin{table}[!htb] \scriptsize \centering + \rowcolors{2}{table-background-one}{table-background-two} \caption*{(Data types and their acronyms are listed in Table~\ref{tab:ssr-osc-data-type-acronyms}.) } @@ -802,6 +818,7 @@ \begin{table}[!htb] \scriptsize \centering + \rowcolors{2}{table-background-one}{table-background-two} \caption*{(Data types and their acronyms are listed in Table~\ref{tab:ssr-osc-data-type-acronyms}.) } @@ -873,6 +890,7 @@ \begin{table}[!htb] \scriptsize \centering + \rowcolors{2}{table-background-one}{table-background-two} \caption*{(Data types and their acronyms are listed in Table~\ref{tab:ssr-osc-data-type-acronyms}.) } -- cgit v1.2.3-54-g00ecf