\documentclass[paper=a4, twoside=false, fontsize=12pt, parskip=half,
                bibliography=totoc, listof=totoc]{scrbook}

% General packages
\usepackage{pgfplots}
\usepackage{fontspec}
\usepackage[mode=match, reset-text-family=false]{siunitx}
\usepackage{fontspec}
\usepackage{calc}
\input{colors.tex}
% Define flowcharts macros independently so we can build them as png files
% for the website or something. This is supported in the makefile
\input{figures/flowcharts_tikz.tex}
% Fonts
\defaultfontfeatures{Scale=MatchLowercase, Ligatures=TeX}
% Define Semi-bold
\DeclareRobustCommand\sbseries{\fontseries{sb}\selectfont}
% Fonts for accessibility
\ifdefined\isaccessible
    \setmainfont{Open Sans}[
    Scale=MatchLowercase]
\else
    \setmainfont{TeX Gyre Pagella}[Scale=1.0] % Or Palatino Linotype, etc.
    % TODO not available on github CI
    % \setmonofont{Andale Mono}[Scale=MatchLowercase]
\fi
% Opens Sans in both case..
\setsansfont{Open Sans}[
  Scale=MatchLowercase,
  FontFace = {sb}{it}{* Semibold Italic},
  FontFace = {sb}{n}{*-semibold}]
\usepackage{layouts}

\newcommand{\printsizes}{
    Width: \printinunitsof{in}\prntlen{\textwidth}in \\
    Height: \printinunitsof{in}\prntlen{\textheight}in
}

\begin{document}
\begin{figure}[!htb]
  \centering
  \input{figures/fig-starter-process.tex}
  \caption[Dough strength over time with kneading]{A schematic visualization
      of gluten development in sourdoughs with different kneading techniques.
      A combination of techniques can be utilized to achieve maximum dough
      strength.}%
  \label{fig:dough-strength-sourdough}
\end{figure}
\end{document}
