From 8452b7f2ec15290a3dfe7d1f1de82b24407c1b82 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Wed, 9 Oct 2019 16:19:55 +0200 Subject: [PATCH] Fix bugs --- src/config.sty | 4 ++++ src/foreword/3d-model.tex | 4 ---- src/listing-config.sty | 1 + src/system-bookmarks/bookmark.tex | 3 --- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/config.sty b/src/config.sty index 6b2b6b2..0598289 100644 --- a/src/config.sty +++ b/src/config.sty @@ -66,6 +66,10 @@ anchorcolor = blue]{hyperref} right=3cm } +\newcommand\mycommfont[1]{\footnotesize\ttfamily\textcolor{blue}{#1}} +\SetCommentSty{mycommfont} +\SetNoFillComment% + \addtokomafont{chapterprefix}{\raggedleft} \addtokomafont{chapter}{\fontsize{30}{38}\selectfont} \addtokomafont{section}{\huge} diff --git a/src/foreword/3d-model.tex b/src/foreword/3d-model.tex index 86217d9..e54a09f 100644 --- a/src/foreword/3d-model.tex +++ b/src/foreword/3d-model.tex @@ -67,10 +67,6 @@ An example of object file is visible on Listing~\ref{i:obj}. A typical 3D renderer follows Algorithm~\ref{f:renderer}. -\newcommand\mycommfont[1]{\footnotesize\ttfamily\textcolor{blue}{#1}} -\SetCommentSty{mycommfont} -\SetNoFillComment% - \begin{algorithm}[th] \SetKwData{Texture}{texture} \SetKwData{Object}{object} diff --git a/src/listing-config.sty b/src/listing-config.sty index 5bd1123..9ea6e04 100644 --- a/src/listing-config.sty +++ b/src/listing-config.sty @@ -1,3 +1,4 @@ +\renewcommand*{\lstlistlistingname}{List of Listings} \definecolor{colKeys}{rgb}{0,0.5,0} \definecolor{colIdentifier}{rgb}{0,0,0} \definecolor{colComments}{rgb}{0,0.5,1} diff --git a/src/system-bookmarks/bookmark.tex b/src/system-bookmarks/bookmark.tex index e6afce2..ef8775e 100644 --- a/src/system-bookmarks/bookmark.tex +++ b/src/system-bookmarks/bookmark.tex @@ -227,9 +227,6 @@ The three first values in the supplemental property are the camera position coor We build on the loader introduced in Algorithm~\ref{d3:next-segment} to implement a client adaptation logic. We include a bookmark adaptation logic such that (i) when a bookmark is hovered for the first time, the corresponding images (see Listing~\ref{sb:bookmark-as}) are downloaded, and (ii) when a bookmark is clicked, we switch from utility $\mathcal{U}$ to optimized utility $\mathcal{U}^*$ to determine which segments to download next. -\newcommand\mycommfont[1]{\footnotesize\ttfamily\textcolor{blue}{#1}} -\SetCommentSty{mycommfont} -\SetNoFillComment% \begin{algorithm}[th] \SetKwInOut{Input}{input} \SetKwInOut{Output}{output}