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}{@{}r@{g }lrr@{ = }r@{}}
\toprule
\textbf{Ingredient} & \multicolumn{1}{l}{\textbf{Percent}} & \multicolumn{1}{l}{\textbf{Calculation}} \\ \midrule
1000g flour & 100\% & 1000g of 1000g = 100\% \\ \midrule
600g water & 60\% & 600g of 1000g = 60\% \\ \midrule
100g sourdough starter & 10\% & 100g of 1000g = 10\% \\ \midrule
20g salt & 2\% & 20g of 1000g = 2\% \\ \bottomrule
\multicolumn{2}{c}{\thead{Ingredient}}& \thead{Percentage} & \multicolumn{2}{c}{\thead{Calculation}} \\ \midrule
1000& flour &100\% & 1000g of 1000g & 100\% \\ \midrule
600& water & 60\% & 600g of 1000g & 60\% \\ \midrule
100& sourdough starter & 10\% & 100g of 1000g & 10\% \\ \midrule
20& salt & 2\% & 20g of 1000g & 2\% \\ \bottomrule
\end{tabular}
\end{document}