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