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,12 +1,8 @@
\input{./vars}
\begin{document}
\begin{tabular}{lrr}
\begin{tabular}{@{}lrr@{ = }l@{}}
\toprule
\textbf{Ingredient} & \multicolumn{1}{l}{\textbf{Baker's math}} & \multicolumn{1}{l}{\textbf{Calculated value}} \\ \midrule
Flour & 100\% & 1400*1 = 1400g \\ \midrule
Water & 60\% & 1400*0.6 = 840g \\ \midrule
Sourdough starter & 10\% & 1400*0.1 = 140g \\ \midrule
Salt & 2\% & 1400*0.02 = 28g \\ \bottomrule
\thead{Ingredient} & \thead{Baker's math} & \multicolumn{2}{c}{\thead{Calculated value}} \\ \midrule
Flour & 100\% & $1400 \times 1$ & 1400g \\ \midrule
Water & 60\% & $1400 \times 0.6$ & 840g \\ \midrule
Sourdough starter & 10\% & $1400 \times 0.1$ & 140g \\ \midrule
Salt & 2\% & $1400 \times 0.02$ & 28g \\ \bottomrule
\end{tabular}
\end{document}