mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-08 12:11:11 -06:00
Rearrange starter process flowchart
- Added an extra state for clarity - Made it more compact - Added details section
This commit is contained in:
@@ -16,4 +16,32 @@
|
||||
\path [line] (decide) -- node{no} (timeout);
|
||||
\path [line] (wait2) -- (feed);
|
||||
\path [line] (decide) -- node{yes} (use);
|
||||
|
||||
\node [start, below of=discard, left of=discard] (start_n) { Start with Initial Mixture };
|
||||
\node [block, right of=start_n, node distance = 3.2cm] (wait_n) { Wait\\ \qty{24}{\hour} };
|
||||
\node [decision, right of=wait_n, node distance = 3.2cm] (readycheck_n) { Ready? };
|
||||
\node [block, below of=wait_n, node distance = 3cm] (feed_n) { Feed the Mixture };
|
||||
\node [decision, right of=feed_n, node distance = 3.2cm] (limitcheck_n) { Failed? };
|
||||
\node [fail, right of=limitcheck_n, node distance = 3.2cm] (abort_n) { Discard All, Start Over };
|
||||
\node [success, right of=readycheck_n, node distance = 3.2cm] (final_n) { Done };
|
||||
|
||||
\draw [line] (start_n) -- (wait_n);
|
||||
\draw [line] (wait_n) -- (readycheck_n);
|
||||
\draw [line] (feed_n) -- (wait_n);
|
||||
\draw [line] (readycheck_n) -- node { No } (limitcheck_n);
|
||||
\draw [line] (limitcheck_n) -- node (feedok_n) { No } (feed_n) ;
|
||||
\draw [line] (limitcheck_n) -- node { Yes } (abort_n);
|
||||
\draw [line] (readycheck_n) -- node { Yes } (final_n);
|
||||
|
||||
\node [below of=feedok_n, node distance=2cm, align=left] (details2) [shape=rectangle,draw,fill=maingray]{
|
||||
For the \emph{Initial Mixture}, mix \qty{50}{\gram} flour/\qty{50}{\gram} water.\\
|
||||
The Mixture is \emph{Ready} when it has
|
||||
\emph{grown}, has \emph{bubbles}, and \emph{smells}
|
||||
vinegary/yoghurty. \\
|
||||
|
||||
The Mixture has \emph{Failed} when you
|
||||
have fed it too many (\eg~10) times without success.\\
|
||||
|
||||
To \emph{Feed the Mixture}, discard all but \qty{10}{\gram}, mix in \qty{50}{\gram} flour and \qty{50}{\gram} water.
|
||||
};
|
||||
\end{tikzpicture}
|
||||
|
||||
49
book/mwe.tex
Normal file
49
book/mwe.tex
Normal file
@@ -0,0 +1,49 @@
|
||||
\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}
|
||||
Reference in New Issue
Block a user