mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-30 06:43:59 -06:00
Nicer/Simpler tables (#107)
* 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..
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
\input{./vars}
|
||||
|
||||
\begin{document}
|
||||
\begin{tabular}{lll}
|
||||
%TODO: last line is not great
|
||||
\begin{tabular}{@{}>{\bfseries} p{0.15\textwidth}rlrl@{}}
|
||||
\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
|
||||
& \multicolumn{2}{c}{\thead{Flat breads}} & \multicolumn{2}{c}{\thead{Pancakes}} \\ \midrule
|
||||
Flour & 100g & & 100g & \\
|
||||
Water & 100g & (100\%) & 300g & (300\%) \\
|
||||
Sourdough starter & 5--20g & (5--20\%) & 5--20g & (5--20\%) \\
|
||||
Salt & 2g & (2\%) & 2g & (2\%) \\
|
||||
Bake when? & \multicolumn{2}{c}{Dough increased by 50\% in size.}
|
||||
& \multicolumn{2}{c}{Bubbles visible on surface.}\\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{document}
|
||||
|
||||
Reference in New Issue
Block a user