Nicer tables episode II (#111)

* Make headrow in tables bold

* 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

* Remove horizontal separation inside tables

Not very nice if you ask me..

* 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.

* Simplify table for html output

* Revert "Simplify table for html output"

This reverts commit f85d65adb7.

* Revert pancake table

This way it builds ebook correctly.
This commit is contained in:
cedounet
2023-06-03 00:02:39 +02:00
committed by GitHub
parent 0d1602cc17
commit 50bf7f1de4
25 changed files with 208 additions and 257 deletions

View File

@@ -4,7 +4,7 @@ traits.
\begin{table}[htp!]
\begin{center}
\includegraphics{tables/table-starter-types.pdf}
\input{tables/table-starter-types.tex}
\caption{A comparison of different sourdough starter types and their
respective properties. The only difference is the level of water (hydration)
that is used when feeding the starter.}

View File

@@ -34,12 +34,12 @@ but there is an easier way. This is where baker's math
comes in handy. Let's look at the default recipe with baker's
math and then adjust it for the 1.4 kilogram flour quantity.
\begin{figure}[!htb]
\begin{table}[!htb]
\begin{center}
\includegraphics{tables/table-bakers-math-example.pdf}
\input{tables/table-bakers-math-example.tex}
\caption{An example table demonstrating how to properly calculate using baker's math}
\end{center}
\end{figure}
\end{table}
Note how each of the ingredients is calculated as a percentage
based on the flour. The 100 percent is the baseline and represents the absolute
@@ -50,13 +50,13 @@ Now let's go back to our example and adjust the flour, as we have
more flour available the next day. As mentioned the next day
we have 1.4 kilograms at hand (1400 grams).
\begin{figure}[H]
\begin{table}[!htb]
\begin{center}
\includegraphics{tables/table-recipe-bakers-math.pdf}
\input{tables/table-recipe-bakers-math.tex}
\caption{An example recipe that uses 1400 grams as its baseline and
is then calculated using baker's math}
\end{center}
\end{figure}
\end{table}
For each ingredient we calculate the percentage
based on the flour available (1400 grams). So for the water