Simplify tables markup

- Markup is definitely simpler.
- Will not be built separately in a pdf anymore.
- Fixed some typo as well
- Relatively coherent look
- Can be better, some sizes are relatively arbitrary
This commit is contained in:
Ced
2023-05-29 13:10:55 +01:00
parent 0014dd2311
commit 6755a35544
25 changed files with 209 additions and 259 deletions

View File

@@ -1,14 +1,12 @@
\input{./vars}
\begin{document}
\begin{tabular}{lll}
%TODO: last line is not great
\begin{tabular}{@{}>{\bfseries} p{0.15\textwidth}rlrl@{}}
\toprule
& \textbf{Flat breads} & \textbf{Pancakes} \\ \midrule
\textbf{Flour} & 100g & 100g \\ \midrule
\textbf{Water} & 100g (100\%) & 300g (300\%) \\ \midrule
\textbf{Sourdough starter} & 5-20g (5-20\%) & 5-20g (5-20\%) \\ \midrule
\textbf{Salt} & 2g (2\%) & 2g (2\%) \\ \midrule
\textbf{When bake?} & Dough increased 50 percent in size & Bubbles
visible on surface \\ \bottomrule
& \multicolumn{2}{c}{\thead{Flat breads}} & \multicolumn{2}{c}{\thead{Pancakes}} \\ \midrule
Flour & 100g & & 100g & \\ \midrule
Water & 100g & (100\%) & 300g & (300\%) \\ \midrule
Sourdough starter & 5--20g & (5--20\%) & 5--20g & (5--20\%) \\ \midrule
Salt & 2g & (2\%) & 2g & (2\%) \\ \midrule
Bake when? & \multicolumn{2}{c}{Dough increased by 50\% in size.}
& \multicolumn{2}{c}{Bubbles visible on surface.}\\
\bottomrule
\end{tabular}
\end{document}