mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-29 22:33:58 -06:00
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:
@@ -1,14 +1,11 @@
|
||||
\input{./vars}
|
||||
|
||||
\begin{document}
|
||||
\begin{tabular}{lll}
|
||||
%TODO: last line is not great
|
||||
-\begin{tabular}{lll}
|
||||
\toprule
|
||||
& \textbf{Flat breads} & \textbf{Pancakes} \\ \midrule
|
||||
\textbf{Flour} & 100g & 100g \\ \midrule
|
||||
\textbf{Water} & 100g (100\%) & 300g (300\%) \\ \midrule
|
||||
\textbf{Sourdough starter} & 5-20g (5-20\%) & 5-20g (5-20\%) \\ \midrule
|
||||
\textbf{Salt} & 2g (2\%) & 2g (2\%) \\ \midrule
|
||||
\textbf{When bake?} & Dough increased 50 percent in size & Bubbles
|
||||
visible on surface \\ \bottomrule
|
||||
& \textbf{Flat breads} & \textbf{Pancakes} \\ \midrule
|
||||
\textbf{Flour} & 100g & 100g \\
|
||||
\textbf{Water} & 100g (100\%) & 300g (300\%) \\
|
||||
\textbf{Sourdough starter} & 5--20g (5--20\%) & 5--20g (5--20\%) \\
|
||||
\textbf{Salt} & 2g (2\%) & 2g (2\%) \\
|
||||
\textbf{Bake when?} & Dough increased 50 percent in size & Bubbles visible on surface \\ \bottomrule
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{document}
|
||||
|
||||
Reference in New Issue
Block a user