Use Siunitx package for dealing with units (#129)

It is complicated :
[1] The International System of Units (si), https://www.bipm.org/en/
measurement-units/.
[2] International System of Units from nist, http://physics.nist.gov/cuu/Units/
index.html.

And one will never get it right (space or not, half-space?) nor
consistent so using that instead.

I am not sure how times and hours, when to write digits and when in
letter so I did not change much..

Did not touch the tables as ebooks on github actions seems to break when
you look at them funny.

Co-authored-by: Cedric <ced@awase.ostal>
This commit is contained in:
cedounet
2023-06-28 19:30:12 +01:00
committed by GitHub
parent 0614fe7d8f
commit 4637c29a37
25 changed files with 334 additions and 318 deletions
+3 -3
View File
@@ -1,14 +1,14 @@
\begin{tikzpicture}[node distance = 3cm, auto]
\node [block] (heat_oven) {\footnotesize Heat oven to 230°C (446°F) for 30 minutes};
\node [block] (heat_oven) {\footnotesize Heat oven to \qty{230}{\degreeCelsius} (\qty{446}{\degF}) for 30~minutes};
\node [block, right of=heat_oven, node distance=3cm] (score_dough) {\footnotesize Score your dough};
\node [decision, right of=score_dough, node distance=4cm] (decide_steam) {\footnotesize Choose your steaming method};
\node [block, below of=heat_oven, node distance=4cm] (inverted_tray_method) {\footnotesize Inverted tray method};
\node [block, right of=inverted_tray_method, node distance=3cm] (dutch_oven) {\footnotesize Dutch oven};
\node [block, right of=dutch_oven, node distance=3cm] (steam_injection) {\footnotesize Steam injection oven};
\node [block, below of=inverted_tray_method, node distance=3cm] (bake_30) {\footnotesize Bake dough for 30 minutes with steam};
\node [block, below of=inverted_tray_method, node distance=3cm] (bake_30) {\footnotesize Bake dough for 30~minutes with steam};
\node [block, right of=bake_30, node distance=3cm] (remove_steam) {\footnotesize Remove source of steam};
\node [block, right of=remove_steam, node distance=3cm] (build_crust) {\footnotesize Build the crust};
\node [block, right of=build_crust, node distance=3cm] (finish_baking) {\footnotesize Stop baking 10--30 minutes later depending on crust preference};
\node [block, right of=build_crust, node distance=3cm] (finish_baking) {\footnotesize Stop baking 10--30~minutes later depending on crust preference};
\path [line] (heat_oven) -- (score_dough);
\path [line] (score_dough) -- (decide_steam);
\path [line] (decide_steam) -- (inverted_tray_method);
+1 -1
View File
@@ -8,7 +8,7 @@
\node [block, below of=dough_ready] (divide_preshape) {\footnotesize Divide and preshape};
\node [decision, below of=smell] (dough_flattened) {\footnotesize Dough flattened out?};
\node [block, left of=dough_flattened] (stretch_fold) {\footnotesize Stretch and fold};
\node [block, left of=smell] (wait_60_minutes) {\footnotesize Wait 60 minutes};
\node [block, left of=smell] (wait_60_minutes) {\footnotesize Wait 60~minutes};
\path [line] (init) -- (check_dough);
\path [line] (check_dough) -- (size_increase);
+3 -3
View File
@@ -1,14 +1,14 @@
\begin{tikzpicture}[node distance = 3cm, auto]
\node [block] (init) {\footnotesize Place water tray and stone in oven};
\node [block, right of=init] (heat_oven) {\footnotesize Heat oven to 230°C (446°F) for 30 minutes};
\node [block, right of=init] (heat_oven) {\footnotesize Heat oven to \qty{230}{\degreeCelsius} (\qty{446}{\degF}) for 30~minutes};
\node [block, right of=heat_oven] (score_your_dough) {\footnotesize Score your dough};
\node [block, right of=score_your_dough] (spritz) {\footnotesize Spritz your dough with water};
\node [block, right of=spritz] (load_tray) {\footnotesize Place non-preheated inverted tray in oven};
\node [block, below of=load_tray, node distance=4cm] (load_doughs) {\footnotesize Load doughs into oven};
\node [block, left of=load_doughs, node distance=3cm] (load_water) {\footnotesize Place water in heated water tray};
\node [block, left of=load_water, node distance=3cm] (bake) {\footnotesize Bake 30 minutes or until core temperature is 92°C (197°F)};
\node [block, left of=load_water, node distance=3cm] (bake) {\footnotesize Bake 30~minutes or until core temperature is \qty{92}{\degreeCelsius} (\qty{197}{\degF})};
\node [block, left of=bake, node distance=3cm] (remove_steam) {\footnotesize Remove steam source and top tray};
\node [block, left of=remove_steam, node distance=3cm] (finish) {\footnotesize Bake at least another 10 minutes or until crust has your desired color};
\node [block, left of=remove_steam, node distance=3cm] (finish) {\footnotesize Bake at least another 10~minutes or until crust has your desired color};
\path [line] (init) -- (heat_oven);
\path [line] (heat_oven) -- (score_your_dough);
\path [line] (score_your_dough) -- (spritz);
+4 -4
View File
@@ -1,10 +1,10 @@
\begin{tikzpicture}[node distance = 3cm, auto]
\node [block] (init) {\footnotesize Homogenize recipe ingredients};
\node [block, right of=init, node distance=3cm] (wait1) {\footnotesize Wait 15 minutes};
\node [block, right of=init, node distance=3cm] (wait1) {\footnotesize Wait 15~minutes};
\path [line] (init) -- (wait1);
\node [block, right of=wait1, node distance=3cm] (knead1) {\footnotesize Knead 5 minutes};
\node [block, right of=wait1, node distance=3cm] (knead1) {\footnotesize Knead 5~minutes};
\path [line] (wait1) -- (knead1);
\node [block, right of=knead1, node distance=3cm] (wait2) {\footnotesize Wait 15 minutes};
\node [block, right of=knead1, node distance=3cm] (wait2) {\footnotesize Wait 15~minutes};
\path [line] (knead1) -- (wait2);
\node [decision, below of=wait2, node distance=3cm] (windowpane_test) {\footnotesize Window-pane?};
\path [line] (wait2) -- (windowpane_test);
@@ -14,7 +14,7 @@
\node [block, left of=more_water, node distance=4.5cm] (add_water) {\footnotesize Add water};
\path [line] (more_water) -- node{yes} (add_water);
\path [line] (add_water) -- (knead1);
\node [block, below of=add_water, node distance=4cm] (wait3) {\footnotesize Wait 15 minutes};
\node [block, below of=add_water, node distance=4cm] (wait3) {\footnotesize Wait 15~minutes};
\path [line] (add_water) -- (wait3);
\node [decision, right of=wait3, node distance=4.5cm] (dough_sample) {\footnotesize Aliquot jar?};
\path [line] (wait3) -- (dough_sample);
@@ -1,7 +1,7 @@
\begin{tikzpicture}[node distance = 3cm, auto]
\node [block] (init) {\footnotesize Make a regular or stiff starter};
\node [block, right of=init] (feed_new_ratio) {\footnotesize Mix 1g existing starter, 5g flour and 25g water};
\node [block, right of=feed_new_ratio] (next_day) {\footnotesize Wait 24 hours};
\node [block, right of=init] (feed_new_ratio) {\footnotesize Mix \qty{1}{\gram} existing starter, \qty{5}{\gram} flour and \qty{25}{\gram} water};
\node [block, right of=feed_new_ratio] (next_day) {\footnotesize Wait \qty{24}{\hour}};
\node [block, below of=init, node distance=4cm] (feed_again) {\footnotesize Feed again using 1:5:25 ratio};
\node [block, right of=next_day, node distance=5cm] (test) {\footnotesize Check starter readiness?};
\node [decision, below of=next_day, node distance=4cm] (ready_signs) {\footnotesize Sour yogurty smell and bubbles visible on flour?};
@@ -10,10 +10,10 @@
\path [line] (init) -- (feed_new_ratio);
\path [line] (feed_new_ratio) -- (next_day);
\path [line] (feed_again) -- node{\footnotesize repeat 3 times} (feed_new_ratio);
\path [line] (next_day) -- node{\footnotesize after 3 days} (test);
\path [line] (next_day) -- node{\footnotesize after 3~days} (test);
\path [line] (next_day) -- (feed_again);
\path [line] (test) -- (ready_signs);
\path [line] (ready_signs) -- node{\footnotesize no} (feed_again);
\path [line] (ready_signs) -- node{\footnotesize yes} (last_feed);
\path [line] (last_feed) -- node{\footnotesize after 6--12 hours} (bread_dough);
\path [line] (last_feed) -- node{\footnotesize after \qtyrange{6}{12}{\hour}} (bread_dough);
\end{tikzpicture}
+5 -5
View File
@@ -1,12 +1,12 @@
\begin{tikzpicture}[node distance = 3cm, auto]
\node [decision] (init) {\footnotesize Room temperature proofing?};
\node [decision, right of=init, node distance=9cm] (retard_bake_decision) {\footnotesize Bake in less than 10 hours from now?};
\node [decision, right of=init, node distance=9cm] (retard_bake_decision) {\footnotesize Bake in less than \qty{10}{\hour} from now?};
\node [block, below of=init, node distance=4cm] (poke) {\footnotesize Poke the dough};
\node [block, right of=poke, node distance=4cm] (wait_poke) {\footnotesize Wait 15 minutes};
\node [decision, below of=poke, node distance=3cm] (dent_visible_decision) {\footnotesize Dent still visible after 1 minute?};
\node [block, right of=poke, node distance=4cm] (wait_poke) {\footnotesize Wait 15~minutes};
\node [decision, below of=poke, node distance=3cm] (dent_visible_decision) {\footnotesize Dent still visible after 1~minute?};
\node [block, right of=dent_visible_decision, node distance=4cm] (bake) {\footnotesize Score and bake};
\node [block, below of=retard_bake_decision, node distance=3cm] (wait_retard) {\footnotesize Wait 15 minutes};
\node [block, below of=wait_retard, node distance=3cm] (retard) {\footnotesize Proof in fridge at 4°C (40°F)};
\node [block, below of=retard_bake_decision, node distance=3cm] (wait_retard) {\footnotesize Wait 15~minutes};
\node [block, below of=wait_retard, node distance=3cm] (retard) {\footnotesize Proof in fridge at \qty{4}{\degreeCelsius} (\qty{40}{\degF})};
\node [block, right of=wait_retard, node distance=3cm] (move_to_fridge) {\footnotesize Move dough directly to fridge};
\path [line] (init) -- node{yes} (poke);
\path [line] (init) -- node{no} (retard_bake_decision);
+6 -5
View File
@@ -2,8 +2,8 @@
\node [block] (init) {\footnotesize Make your bread dough};
\node [decision, below of=init, node distance=3.5cm] (all_starter_used) {\footnotesize All starter used?};
\path [line] (init) -- (all_starter_used);
\node [block, right of=init, node distance=3cm] (use_dough) {\footnotesize Take 10g of your bread dough};
\node [block, right of=all_starter_used, node distance=3cm] (use_starter) {\footnotesize Take all but not more than 10g of your starter};
\node [block, right of=init, node distance=3cm] (use_dough) {\footnotesize Take \qty{10}{\gram} of your bread dough};
\node [block, right of=all_starter_used, node distance=3cm] (use_starter) {\footnotesize Take all but not more than \qty{10}{\gram} of your starter};
\path [line] (all_starter_used) -- node{yes} (use_dough);
\path [line] (all_starter_used) -- node{no} (use_starter);
\node [block, right of=use_dough, node distance=3cm] (feed_starter) {\footnotesize Feed using 1:5:5 ratio};
@@ -11,12 +11,13 @@
\path [line] (use_starter) -- (feed_starter);
\node [decision, right of=feed_starter, node distance=3cm] (bake_next_day_check) {\footnotesize Bake next day?};
\path [line] (feed_starter) -- (bake_next_day_check);
\node [block, right of=bake_next_day_check, node distance=3.5cm] (make_bread_dough) {\footnotesize Make bread dough again after 8--12 hours};
\node [block, right of=bake_next_day_check, node distance=3.5cm]
(make_bread_dough) {\footnotesize Make bread dough again after \qtyrange{8}{12}{\hour}};
\path [line] (bake_next_day_check) -- node{yes} (make_bread_dough);
\node [decision, right of=use_starter, node distance=3cm] (bake_next_week_check) {\footnotesize Baking in next 2 weeks?};
\node [block, right of=bake_next_week_check, node distance=3.5cm] (store_fridge) {\footnotesize Store starter in fridge at 4°C(40°F)};
\node [block, right of=bake_next_week_check, node distance=3.5cm] (store_fridge) {\footnotesize Store starter in fridge at \qty{4}{\degreeCelsius}(\qty{40}{\degF})};
\path [line] (bake_next_week_check) -- node{yes} (store_fridge);
\node [block, right of=store_fridge, node distance=3cm] (feed_after_fridge) {\footnotesize Feed again using 1:5:5 ratio 8--12 hours before making dough};
\node [block, right of=store_fridge, node distance=3cm] (feed_after_fridge) {\footnotesize Feed again using 1:5:5 ratio \qtyrange{8}{12}{\hour} before making dough};
\path [line] (store_fridge) -- (feed_after_fridge);
\path [line] (bake_next_day_check) -- node{no} (bake_next_week_check);
\node [decision, below of=use_starter, node distance=3cm] (freezer_check) {\footnotesize Have a freezer?};
+4 -4
View File
@@ -1,14 +1,14 @@
\begin{tikzpicture}[node distance = 3cm, auto]
\node [block] (init) {\footnotesize Mix 50g flour + 50g water, stir};
\node [block, right of=init, node distance=3cm] (wait1) {\footnotesize Wait 24 hours};
\node [block] (init) {\footnotesize Mix \qty{50}{\gram} flour + \qty{50}{\gram} water, stir};
\node [block, right of=init, node distance=3cm] (wait1) {\footnotesize Wait \qty{24}{\hour}};
\path [line] (init) -- (wait1);
\node [block, right of=wait1, node distance=3cm] (feed) {\footnotesize 10g of previous day + 50g water + 50g flour, stir};
\node [block, right of=wait1, node distance=3cm] (feed) {\footnotesize \qty{10}{\gram} of previous day + \qty{50}{\gram} water + \qty{50}{\gram} flour, stir};
\path [line] (wait1) -- (feed);
\node [block, below of=feed] (discard) {\footnotesize Discard the rest};
\path [line] (feed) -- (discard);
\node [decision, right of=feed, node distance=3.5cm] (decide) {\footnotesize Is good?};
\node [decision, above of=decide, node distance=3cm] (timeout) {\footnotesize Less than 10 feeds?};
\node [block, above of=feed, node distance=3cm] (wait2) {\footnotesize Wait 24 hours};
\node [block, above of=feed, node distance=3cm] (wait2) {\footnotesize Wait \qty{24}{\hour}};
\node [block, right of=timeout, node distance=3cm] (discard2) {\footnotesize Batch failed};
\path [line] (timeout) -- node{no} (discard2);
\path [line] (timeout) -- node{yes} (wait2);
+2 -2
View File
@@ -2,11 +2,11 @@
\node [block] (init) {\footnotesize Make a starter};
\node [block, right of=init, node distance=3cm] (feed) {\footnotesize Feed your starter};
\path [line] (init) -- (feed);
\node [block, right of=feed, node distance=3cm] (wait_12_after_feed) {\footnotesize Wait 12 hours};
\node [block, right of=feed, node distance=3cm] (wait_12_after_feed) {\footnotesize Wait \qty{12}{\hour}};
\path [line] (feed) -- (wait_12_after_feed);
\node [block, right of=wait_12_after_feed, node distance=3cm] (ready_question) {\footnotesize Perform readiness check};
\path [line] (wait_12_after_feed) -- (ready_question);
\node [block, below of=feed, node distance=3cm] (wait_12) {\footnotesize Wait 12 hours};
\node [block, below of=feed, node distance=3cm] (wait_12) {\footnotesize Wait \qty{12}{\hour}};
\path [line] (wait_12) -- (feed);
\node [decision, right of=ready_question, node distance=3.5cm] (is_bubbly) {\footnotesize Bubbly? Size Increase?};
\path [line] (ready_question) -- (is_bubbly);
@@ -1,9 +1,9 @@
\begin{tikzpicture}[node distance = 3cm, auto]
\node [block] (init) {\footnotesize Make a regular or liquid starter};
\node [block, right of=init] (feed_new_ratio) {\footnotesize Mix 10g existing starter, 50g flour and 25g water};
\node [block, right of=init] (feed_new_ratio) {\footnotesize Mix \qty{10}{\gram} existing starter, \qty{50}{\gram} flour and \qty{25}{\gram} water};
\node [decision, right of=feed_new_ratio, node distance=3cm] (too_dry) {\footnotesize Starter very dry, hard to mix?};
\node [block, right of=too_dry, node distance=4cm] (add_water) {\footnotesize Add more water};
\node [block, below of=add_water, node distance=2cm] (next_day) {\footnotesize Wait 24 hours};
\node [block, below of=add_water, node distance=2cm] (next_day) {\footnotesize Wait \qty{24}{\hour}};
\node [decision, below of=too_dry, node distance=3cm] (repeated_3_times) {\footnotesize Stiff starter fed 3 times overall?};
\node [block, left of=repeated_3_times] (feed_again) {\footnotesize Feed again using 1:5:2.5 ratio};
\node [decision, below of=repeated_3_times, node distance=3.5cm] (ready_signs) {\footnotesize Size increase and sour smell?};
@@ -16,7 +16,7 @@
\path [line] (repeated_3_times) -- node{\footnotesize no} (feed_again);
\path [line] (ready_signs) -- node{\footnotesize no} (feed_again);
\path [line] (ready_signs) -- node{\footnotesize yes} (last_feed);
\path [line] (last_feed) -- node{\footnotesize after 6--12 hours} (bread_dough);
\path [line] (last_feed) -- node{\footnotesize after \qtyrange{6}{12}{\hour}} (bread_dough);
\path [line] (feed_new_ratio) -- (too_dry);
\path [line] (add_water) -- (next_day);
\path [line] (too_dry) -- node{\footnotesize no} (next_day);
@@ -1,13 +1,13 @@
\begin{tikzpicture}[node distance = 3cm, auto]
\node [decision] (init) {\footnotesize Starter last fed within 3 days?};
\node [block, right of=init, node distance=4cm] (feed_no_branch)
{\footnotesize Feed starter twice. 48 hours before and 6--12 hours before};
{\footnotesize Feed starter twice. \qty{48}{\hour} before and \qtyrange{6}{12}{\hour} before};
\node [block, below of=feed_no_branch, node distance=3cm] (feed_yes_branch)
{\footnotesize Feed starter once 6--12 hours before making dough};
{\footnotesize Feed starter once \qtyrange{6}{12}{\hour} before making dough};
\node [block, right of=feed_no_branch, node distance=6cm] (high_ratio)
{\footnotesize Use a 1:10:10 ratio. 10g starter, 100g flour, 100g water};
{\footnotesize Use a 1:10:10 ratio. \qty{10}{\gram} starter, \qty{100}{\gram} flour, \qty{100}{\gram} water};
\node [block, right of=feed_yes_branch, node distance=3cm] (low_ratio)
{\footnotesize Use a 1:5:5 ratio. 10g starter, 50g flour, 50g water};
{\footnotesize Use a 1:5:5 ratio. \qty{10}{\gram} starter, \qty{50}{\gram} flour, \qty{50}{\gram} water};
\node [block, below of=high_ratio, node distance=6cm] (check_starter)
{\footnotesize Check if starter is ready to be used};
\node [decision, below of=init, node distance=6cm] (size_check)
+2
View File
@@ -1,5 +1,7 @@
\documentclass[tikz]{standalone}
\usepackage{tikz}
\usepackage{siunitx}
\DeclareSIUnit\degF{\text{°}F}
\definecolor{codeblue}{RGB}{69, 161, 248}
\definecolor{codegray}{RGB}{40, 40, 40}