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

@@ -7,13 +7,13 @@ the most accessible, least effort type of bread you can make.
If you are a busy person and/or don't have an oven, this might
be exactly the type of bread you should consider.
\begin{figure}[!htb]
\begin{table}[!htb]
\begin{center}
\includegraphics{tables/table-overview-bread-types.pdf}
\input{tables/table-overview-bread-types.tex}
\caption{An overview of different bread types and their respective complexity}
\end{center}
\label{tab:bread-types-comparison}
\end{figure}
\end{table}
\section{Flatbread}
@@ -172,14 +172,16 @@ I have little time or when I am abroad. You can choose
between two options: 1) A flatbread similar to a roti or naan bread
or 2) sourdough pancakes.
\begin{figure}[!htb]
\begin{table}[!htb]
\begin{center}
\includegraphics{tables/table-flat-bread-pancake-recipe.pdf}
\caption{\label{tab:flat-bread-ingredients}flatbread or pancake recipe for 1 person. Multiply the ingredients
to increase portion size. Refer to the section \ref{section:bakers-math} "\nameref{section:bakers-math}" to learn how
to understand and use the percentages properly.}
\input{tables/table-flat-bread-pancake-recipe.tex}
\caption{\label{tab:flat-bread-ingredients}flatbread or pancake recipe
for 1 person. Multiply the ingredients to increase portion size.
Refer to the Section~\ref{section:bakers-math}
``\nameref{section:bakers-math}'' to learn how to understand and
use the percentages properly.}
\end{center}
\end{figure}
\end{table}
To get started prepare your sourdough starter. If it has not been used for a very
long time, consider giving it another feed. To do so simply take 1 g of your