Fix some tables for the ebook

The alignement trick to have nicely alignment on = sign or on unit (g)
used broke the html. Reverting to a less optimal version on pdf while
not breaking the html.
This commit is contained in:
Ced
2023-06-02 09:44:37 +01:00
parent d8890aec78
commit c22da59084
2 changed files with 12 additions and 12 deletions

View File

@@ -1,8 +1,8 @@
\begin{tabular}{@{}r@{g }lrr@{ = }r@{}}
\begin{tabular}{@{}lrrr@{}}
\toprule
\multicolumn{2}{c}{\thead{Ingredient}}& \thead{Percentage} & \multicolumn{2}{c}{\thead{Calculation}} \\ \midrule
1000& flour &100\% & 1000g of 1000g & 100\% \\
600& water & 60\% & 600g of 1000g & 60\% \\
100& sourdough starter & 10\% & 100g of 1000g & 10\% \\
20& salt & 2\% & 20g of 1000g & 2\% \\ \bottomrule
\multicolumn{2}{c}{\thead{Ingredient}} & \thead{Percentage} & \thead{Calculation} \\ \midrule
flour & 1000g &100\% & 1000g of 1000g = 100\% \\
water & 600g & 60\% & 600g of 1000g = 60\% \\
sourdough starter & 100g & 10\% & 100g of 1000g = 10\% \\
salt & 20g & 2\% & 20g of 1000g = 2\% \\ \bottomrule
\end{tabular}