Switch to scrbook class for sans-serif headings

This commit is contained in:
2026-06-30 15:09:14 +02:00
parent 1f4249b7e9
commit 8e5b1697ad
10 changed files with 108 additions and 81 deletions
+1 -2
View File
@@ -3,8 +3,7 @@
\begin{document} \begin{document}
\chapter*{Abstract}\label{ch:abstract} \addchap{Abstract}\label{ch:abstract}
\addcontentsline{toc}{chapter}{\nameref{ch:abstract}}
As semiconductor node sizes shrink, transient hardware faults pose a growing risk to computing systems, especially in environments where reliability is critical. As semiconductor node sizes shrink, transient hardware faults pose a growing risk to computing systems, especially in environments where reliability is critical.
\Gls{wasm}, a binary-code format developed for the web, is increasingly used in embedded systems through standalone runtimes such as the \Gls{wamr}. \Gls{wasm}, a binary-code format developed for the web, is increasingly used in embedded systems through standalone runtimes such as the \Gls{wamr}.
@@ -5,4 +5,6 @@
\chapter{Introduction}\label{ch:introduction} \chapter{Introduction}\label{ch:introduction}
\lipsum%
\end{document} \end{document}
@@ -5,4 +5,9 @@
\chapter{Related Work}\label{ch:relatedwork} \chapter{Related Work}\label{ch:relatedwork}
\begin{itemize}
\item FAIL* paper/dissertation
\item Hardening papers
\end{itemize}
\end{document} \end{document}
@@ -0,0 +1,14 @@
%! TeX program = lualatex
\documentclass[../../thesis.tex]{subfiles}
\begin{document}
\chapter{Background}\label{ch:background}
\begin{itemize}
\item Related work
\item Relevant information on WebAssembly
\item Relevant information on FAIL*
\end{itemize}
\end{document}
@@ -1,8 +0,0 @@
%! TeX program = lualatex
\documentclass[../../thesis.tex]{subfiles}
\begin{document}
\chapter{Experiment Design}\label{ch:experimentdesign}
\end{document}
+6 -1
View File
@@ -3,9 +3,10 @@
\begin{document} \begin{document}
% \addchap{Examples}\label{ch:examples}
\chapter{Examples}\label{ch:examples} \chapter{Examples}\label{ch:examples}
See if everything works: \todo[inline]{Sanity check so everything looks correct}
This is \code{inline code}. This is \code{inline code}.
This is a reference to \Gls{fail}. This is a reference to \Gls{fail}.
@@ -13,6 +14,8 @@ This is another reference to \Gls{fail}.
This is a citation~\autocite{polednaReplicaDeterminismDistributed1994}. This is a citation~\autocite{polednaReplicaDeterminismDistributed1994}.
This is a reference to \autoref{ch:introduction}. This is a reference to \autoref{ch:introduction}.
This is a formula: \( \sum\limits_{f=1}^{\infty}\frac{o}{r}\cdot m_{u} + l^{a} \). This is a formula: \( \sum\limits_{f=1}^{\infty}\frac{o}{r}\cdot m_{u} + l^{a} \).
This is \textbf{bold text that is slightly bold}, so underwhelming.
In contrast, \sansbf{this text is very strong}, very cool\footnote{very cool}.
\begin{codeblock}[label=lst:examplelisting]{This is a listing}{C++} \begin{codeblock}[label=lst:examplelisting]{This is a listing}{C++}
\inputminted{cpp}{\subfix{listings/example.cpp}} \inputminted{cpp}{\subfix{listings/example.cpp}}
@@ -26,4 +29,6 @@ This is a formula: \( \sum\limits_{f=1}^{\infty}\frac{o}{r}\cdot m_{u} + l^{a} \
\caption{This is a figure.}\label{fig:examplefigure} \caption{This is a figure.}\label{fig:examplefigure}
\end{figure} \end{figure}
\lipsum%
\end{document} \end{document}
+70 -57
View File
@@ -6,18 +6,22 @@
% Layout % Layout
\usepackage[left=3.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry} % Typical margin \usepackage[left=3.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry} % Typical margin
\usepackage{titling} \usepackage{titling}
\usepackage{fancyhdr}
\usepackage{setspace} % Line stretch \usepackage{setspace} % Line stretch
% Bibliography % Bibliography
\usepackage[backend=biber,urldate=iso,date=iso,seconds=true]{biblatex} \usepackage[backend=biber,urldate=iso,date=iso,seconds=true]{biblatex}
\bibliography{references}
\usepackage[nottoc,notlof,notlot]{tocbibind} % Include bibliography in ToC, nottoc disables the "Contents" entry for the ToC itself \usepackage[nottoc,notlof,notlot]{tocbibind} % Include bibliography in ToC, nottoc disables the "Contents" entry for the ToC itself
% Figures % Figures
\usepackage{graphicx} % Required for inserting images \usepackage{graphicx} % Required for inserting images
\usepackage{subcaption} % Mehrere Figuren in einer \usepackage[font=small,labelfont=bf,labelsep=endash,margin=1cm,hypcap]{caption}
\usepackage{float} % [H] floating/positioning von Figuren \usepackage[margin=1cm,hypcap]{subcaption} % Mehrere Figuren in einer
\usepackage[bottom]{footmisc} % Bottom not below footnote % \usepackage{float} % [H] floating/positioning von Figuren
\usepackage{floatbytocbasic} % float for komascript
% \usepackage[bottom,multiple]{footmisc} % Bottom not below footnote
\usepackage{flafter}
\usepackage{placeins} % \FloatBarrier to flush floats
% Math % Math
\usepackage{amsmath,amsthm} % Don't load amssymb with concmath-otf \usepackage{amsmath,amsthm} % Don't load amssymb with concmath-otf
@@ -27,7 +31,8 @@
\usepackage{lualatex-math} \usepackage{lualatex-math}
% Tables % Tables
\usepackage{tabularx} \usepackage{booktabs}
% \usepackage{tabularx}
% \usepackage{tablefootnote} % \usepackage{tablefootnote}
% \usepackage{makecell} % \usepackage{makecell}
% \usepackage{color,colortbl} % \usepackage{color,colortbl}
@@ -37,30 +42,44 @@
\usepackage{algpseudocode} \usepackage{algpseudocode}
\usepackage{xcolor} \usepackage{xcolor}
\usepackage{tikz} \usepackage{tikz}
\usepackage{listings} % For lstinputlisting ChkTeX \usetikzlibrary{shadings, backgrounds}
\usepackage[minted]{tcolorbox} \usepackage[minted]{tcolorbox}
\tcbuselibrary{skins} % breakable
% Typography % Typography
\usepackage[babel,final,protrusion=true,expansion=true,tracking=false,kerning=false,spacing=false]{microtype} % \usepackage{fontspec}
\usepackage{fontspec}
\usepackage{concmath-otf} \usepackage{concmath-otf}
\usepackage[babel,final,protrusion=true,expansion=true,tracking=false,kerning=false,spacing=false]{microtype}
\setmonofont{MonoLisa Alt}[Scale=MatchLowercase] \setmonofont{MonoLisa Alt}[Scale=MatchLowercase]
% Pagestyle
\KOMAoptions{%
chapterprefix,
appendixprefix,
headsepline,
% footsepline,
% cleardoublepage=current,
method=right, % start chapters on the right
cleardoublepage=plain, % linenumbers on interleaf pages
footnotes=multiple, % TODO: Doesn't work, maybe because of hyperref?
}
% Various stuff % Various stuff
\usepackage[page]{appendix} % [toc] \usepackage[page]{appendix} % [toc]
\usepackage{lipsum} \usepackage{lipsum}
\usepackage[inkscapelatex=false]{svg} % Don't touch fonts \usepackage[inkscapelatex=false]{svg} % Don't touch fonts
\usepackage{comment} % \usepackage{comment}
\usepackage{pdfpages} \usepackage{pdfpages}
\usepackage{luatodonotes} \usepackage{luatodonotes}
\usepackage{siunitx} \usepackage{siunitx}
\sisetup{detect-all}
\usepackage[l2tabu,orthodox]{nag} \usepackage[l2tabu,orthodox]{nag}
\usepackage{etoolbox} % For \ifstrequal % \usepackage{etoolbox} % For \ifstrequal
\usepackage[autostyle]{csquotes} % Correct quotation marks with \textquote{} \usepackage[autostyle]{csquotes} % Correct quotation marks with \textquote{}
\usepackage{silence} % Silence warnings \usepackage{silence} % Silence warnings
\usepackage[intoc]{nomencl} % Nomenclature % \usepackage[intoc]{nomencl} % Nomenclature
\usepackage[luatex,hidelinks]{hyperref} % Load late \usepackage[luatex,hidelinks]{hyperref} % Load late
\usepackage[acronym,automake,nonumberlist,nogroupskip]{glossaries} % Load after hyperref, toc \usepackage[acronym,automake,nonumberlist,nogroupskip,toc]{glossaries} % Load after hyperref, toc
\usepackage{xurl} % xurl does url-line-breaks in contrast to url \usepackage{xurl} % xurl does url-line-breaks in contrast to url
% Multi-file % Multi-file
@@ -68,16 +87,18 @@
% Settings % Settings
\setstretch{1.25} \setstretch{1.25}
\bibliography{references}
\clubpenalty=10000 \clubpenalty=10000
\widowpenalty=10000 \widowpenalty=10000
\displaywidowpenalty=10000 \displaywidowpenalty=10000
% \floatstyle{boxed}
% \restylefloat{figure} % Allow more (and larger) floats on text pages
\sisetup{detect-all} \renewcommand{\topfraction}{0.9} % use up to ..% of space on top
\tcbuselibrary{skins} % breakable \renewcommand{\bottomfraction}{0.8} % use up to ..% of space on bottom
\usetikzlibrary{shadings, backgrounds} \setcounter{topnumber}{4} % place up to .. on top
\setlength{\headheight}{14pt} \setcounter{bottomnumber}{1} % place up to .. on bottom
\setcounter{totalnumber}{4} % place up to .. total
\renewcommand{\textfraction}{0.07} % allow down to ..% of text
\renewcommand{\floatpagefraction}{0.7} % fill at least ..% of float pages (must be less than \topfraction)
\mathtoolsset{showonlyrefs} \mathtoolsset{showonlyrefs}
\usepackage{xpatch} \usepackage{xpatch}
@@ -93,24 +114,21 @@
% \WarningFilter{latexfont}{Font shape `TS1/zi4/m/it' undefined} % \WarningFilter{latexfont}{Font shape `TS1/zi4/m/it' undefined}
% \WarningFilter{latexfont}{Some font shapes were not available} % \WarningFilter{latexfont}{Some font shapes were not available}
\fancypagestyle{plain}{%
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[RO,LE]{\thepage}
}
\fancypagestyle{report}{%
\fancyhf{}
\renewcommand{\headrulewidth}{0.4pt}
\fancyfoot[RO,LE]{\thepage}
\fancyhead[LO,RE]{\slshape \leftmark\/}
}
% Macros % Macros
\let\oldurl\url% \let\oldurl\url%
\let\url\undefined% \let\url\undefined%
\newcommand{\url}[2][\PackageError{Thesis}{URL requires 2 arguments: \url[date]{address}, e.g.\ \url[07/27/2024]{https://github.com}}{}]{\oldurl{#2} (visited on #1)} \newcommand{\url}[2][\PackageError{Thesis}{URL requires 2 arguments: \url[date]{address}, e.g.\ \url[07/27/2024]{https://github.com}}{}]{\oldurl{#2} (visited on #1)}
\let\oldref\ref%
\let\ref\undefined%
\newcommand{\ref}[1]{\PackageError{Thesis}{REF:\ Use \autoref{label} instead}{}}
\let\oldcite\cite%
\let\cite\undefined%
\newcommand{\cite}[1]{\PackageError{Thesis}{CITE:\ Use \autocite{ref} instead}{}}
\newcommand{\sansbf}[1]{{\usekomafont{disposition}#1}}
\renewcommand{\author}[1]{\gdef\theauthor{#1}} \renewcommand{\author}[1]{\gdef\theauthor{#1}}
\renewcommand{\title}[1]{\gdef\thetitle{#1}} \renewcommand{\title}[1]{\gdef\thetitle{#1}}
\newcommand{\germantitle}[1]{\gdef\thegermantitle{#1}} \newcommand{\germantitle}[1]{\gdef\thegermantitle{#1}}
@@ -124,6 +142,9 @@
\newcommand{\advisors}[1]{\gdef\theadvisors{#1}} \newcommand{\advisors}[1]{\gdef\theadvisors{#1}}
\newcommand{\dean}[1]{\gdef\thedean{#1}} \newcommand{\dean}[1]{\gdef\thedean{#1}}
% Hyphenation
\hyphenation{Web-Assembly}
% Default start and end for each subfile (the main.tex is also a subfile!) % Default start and end for each subfile (the main.tex is also a subfile!)
\AtBeginDocument{% \AtBeginDocument{%
% Capitalize all the section names (has to be placed after \begin{document}) % Capitalize all the section names (has to be placed after \begin{document})
@@ -148,47 +169,31 @@
pdfcreator={LuaLaTeX} pdfcreator={LuaLaTeX}
} }
% Macros
% \renewcommand{\ref}[1]{\autoref{#1}}
\let\oldref\ref%
\let\ref\undefined%
\newcommand{\ref}[1]{\PackageError{Thesis}{REF:\ Use \autoref{label} instead}{}}
\let\oldcite\cite%
\let\cite\undefined%
\newcommand{\cite}[1][\PackageError{Thesis}{CITE:\ Use \autocite{ref} instead}{}]
% Visualize "overfull-hbox"
\overfullrule=2cm
% \pagestyle{empty}
% \pagenumbering{gobble}
% Starting pages % Starting pages
\frontmatter% \pagestyle{empty}
\pagenumbering{gobble}
\input{titlepage} \input{titlepage}
\cleardoublepage% \cleardoublepage%
% \pagestyle{plain} \frontmatter%
\pagestyle{plain}
% \pagenumbering{Roman} % \pagenumbering{Roman}
% \tableofcontents{\thispagestyle{plain}} % \tableofcontents{\thispagestyle{plain}}
\tableofcontents% \tableofcontents%
\cleardoublepage% \cleardoublepage%
% \pagestyle{report}
\setacronymstyle{short-long} \setacronymstyle{short-long}
\printglossary[type=\acronymtype] \printglossary[type=\acronymtype]
\cleardoublepage% \cleardoublepage%
\printglossary% \printglossary%
\mainmatter% \mainmatter%
\pagestyle{headings}
% \pagenumbering{arabic} % \pagenumbering{arabic}
} }
\AtEndDocument{ \AtEndDocument{
% \pagestyle{empty} \backmatter%
% \pagenumbering{gobble} \pagestyle{plain}
\let\url\undefined% \let\url\undefined%
\let\url\oldurl% \let\url\oldurl%
@@ -196,22 +201,30 @@
\let\cite\oldcite% \let\cite\oldcite%
\printbibliography[heading=bibintoc] \printbibliography[heading=bibintoc]
% \printbibliography%
\cleardoublepage% \cleardoublepage%
\phantomsection%
\addcontentsline{toc}{chapter}{Lists}
\listoffigures% \listoffigures%
\addcontentsline{toc}{section}{List of Figures}
\cleardoublepage% \cleardoublepage%
\listofalgorithms% \listofalgorithms%
% \addcontentsline{toc}{chapter}{List of Algorithms} \addcontentsline{toc}{section}{List of Algorithms}
\cleardoublepage% \cleardoublepage%
\tcblistof[\chapter*]{listings}{List of Listings} \tcblistof[\chapter*]{listings}{List of Listings}
% \addcontentsline{toc}{chapter}{List of Listings} \addcontentsline{toc}{section}{List of Listings}
\cleardoublepage% \cleardoublepage%
\listoftables% \listoftables%
\addcontentsline{toc}{section}{List of Tables}
\cleardoublepage% \cleardoublepage%
\phantomsection%
\addcontentsline{toc}{chapter}{Statutory Declaration}
\includepdf[pages=-]{declaration.pdf} \includepdf[pages=-]{declaration.pdf}
} }
+6 -8
View File
@@ -1,13 +1,12 @@
%! TeX program = lualatex %! TeX program = lualatex
\documentclass[a4paper,11pt,twoside]{book} % Add final to silence TODOs \documentclass[a4paper,11pt,twoside,overfullrule]{scrbook} % Add final to silence TODOs
\input{preamble.tex} \input{preamble.tex}
\input{glossary.tex} \input{glossary.tex}
\begin{document} \begin{document}
\subfile{chapters/examples/examples.tex} % TODO: Double check the autofilled Zotero references
\cleardoublepage%
\subfile{chapters/00_abstract/00_00_abstract.tex} \subfile{chapters/00_abstract/00_00_abstract.tex}
\cleardoublepage% \cleardoublepage%
@@ -18,7 +17,7 @@
\subfile{chapters/02_related_work/02_00_related_work.tex} \subfile{chapters/02_related_work/02_00_related_work.tex}
\cleardoublepage% \cleardoublepage%
\subfile{chapters/03_experiment_design/03_00_experiment_design.tex} \subfile{chapters/03_background/03_00_background.tex}
\cleardoublepage% \cleardoublepage%
\subfile{chapters/04_experiment_setup/04_00_experiment_setup.tex} \subfile{chapters/04_experiment_setup/04_00_experiment_setup.tex}
@@ -33,10 +32,9 @@
\subfile{chapters/07_conclusion/07_00_conclusion.tex} \subfile{chapters/07_conclusion/07_00_conclusion.tex}
\cleardoublepage% \cleardoublepage%
% Appendix
\backmatter% % Backmatter breaks reference counters into appendices
% \pagenumbering{Roman}
\appendix \appendix
\subfile{chapters/examples/examples.tex}
\cleardoublepage%
\end{document} \end{document}
+4 -5
View File
@@ -1,10 +1,9 @@
\author{Christoph Urlacher} \author{Christoph Urlacher}
\title{Experimental Evaluation of WebAssembly Under Transient Fault Conditions for Safety-Critical Systems} \title{Experimental Evaluation of WebAssembly Under Transient Fault Conditions for Safety-Critical Systems}
\thesistype{Master's Thesis} \thesistype{Master's Thesis}
% \thesisid{IDIDID} \birthday{1st of January 2000}
% \birthday{1st of January 2000} \birthplace{Ratingen}
% \birthplace{Ratingen} \thesisstart{1st of July 2026}
% \thesisstart{1st of July 2026}
\thesisend{31st of December 2026} \thesisend{31st of December 2026}
\advisors{Prof.\ Dr.-ing.~Peter Ulbrich\\Dr.~Maximilian Seidler} \advisors{Prof.\ Dr.-ing.~Peter Ulbrich\\Dr.~Maximilian Seidler}
\date{\today} \date{\today}
@@ -18,7 +17,7 @@
\sffamily \sffamily
\hspace*{\links} \hspace*{\links}
\begin{minipage}{12.5cm} \begin{minipage}{12.5cm}
\includegraphics[width=8cm]{tudo/tud_logo_rgb} \includegraphics[width=8cm]{tud_logo_rgb.jpg}
\end{minipage} \end{minipage}
\vspace*{4cm} \vspace*{4cm}

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 90 KiB