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
@@ -1,17 +1,12 @@
\input{./vars}
\begin{document}
\begin{tabular}{lllll}
\begin{tabular}{@{}>{\bfseries}lcccc@{}}
\toprule
\textbf{Grain type} & \textbf{Homogenize} & \textbf{Knead} & \textbf{Stretch \& Fold} & \textbf{Shape} \\ \midrule
\textbf{Wheat} & Yes & Yes & Yes & Yes \\ \midrule
\textbf{\textgreater 70\% Wheat} & Yes & Yes & Yes & Yes \\ \midrule
\textbf{Spelt} & Yes & Yes & Yes & Yes \\ \midrule
\textbf{Rye} & Yes & No & No & No \\ \midrule
\textbf{Emmer} & Yes & No & No & No \\ \midrule
\textbf{Einkorn} & Yes & No & No & No \\ \midrule
\textbf{Rice} & Yes & No & No & No \\ \midrule
\textbf{Corn} & Yes & No & No
& No \\ \bottomrule
\thead{Grain type} & \thead{Homogenize} & \thead{Knead} & \thead{Stretch \& Fold} & \thead{Shape} \\ \midrule
Wheat & Yes & Yes & Yes & Yes \\
\textgreater{}~70\% Wheat & Yes & Yes & Yes & Yes \\
Spelt & Yes & Yes & Yes & Yes \\
Rye & Yes & No & No & No \\
Emmer & Yes & No & No & No \\
Einkorn & Yes & No & No & No \\
Rice & Yes & No & No & No \\
Corn & Yes & No & No & No \\ \bottomrule
\end{tabular}
\end{document}