mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-10 21:21:12 -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,24 +1,18 @@
|
||||
\input{./vars}
|
||||
|
||||
\begin{document}
|
||||
\begin{tabular}{lll}
|
||||
\begin{tabular}{@{}>{\bfseries}p{0.3\textwidth}p{0.3\textwidth}p{0.3\textwidth}@{}}
|
||||
\toprule
|
||||
\textbf{Method} & \textbf{Advantages} & \textbf{Disadvantages} \\ \midrule
|
||||
\textbf{\begin{tabular}[c]{@{}l@{}}Room\\ temperature\end{tabular}} & \begin{tabular}[c]{@{}l@{}}The easiest option. Best for bread that\\ is eaten within a day. Crust typically\\ stays crisp when humidity not too high.\end{tabular} & Bread dries out very quickly. \\ \midrule
|
||||
\textbf{\begin{tabular}[c]{@{}l@{}}Room\\ temperature\\ in container\end{tabular}} & \begin{tabular}[c]{@{}l@{}}Good for up to a week. Catches mold\\ more quickly.\end{tabular} & \begin{tabular}[c]{@{}l@{}}Bread needs to be toasted\\ for crust to become crisp again.\end{tabular} \\ \midrule
|
||||
\textbf{Fridge} & \begin{tabular}[c]{@{}l@{}}Bread stays good for weeks. Can dry\\ out a little bit when not using air-tight\\ container.\end{tabular} & \begin{tabular}[c]{@{}l@{}}Bread needs to be toasted.\\ Requires fridge and energy.\end{tabular} \\ \midrule
|
||||
\textbf{Freezer}
|
||||
&
|
||||
Bread stays good for years.
|
||||
&
|
||||
\begin{tabular}[c]{@{}l@{}}Requires
|
||||
thawing
|
||||
and
|
||||
then\\
|
||||
toasting.
|
||||
Requires
|
||||
freezer and\\
|
||||
energy.\end{tabular}
|
||||
\\ \bottomrule
|
||||
\thead{Method} & \thead{Advantages} & \thead{Disadvantages} \\ \midrule
|
||||
Room temperature & The easiest option. Best for bread that is eaten within a day.
|
||||
Crust typically stays crisp when humidity not too high.
|
||||
& Bread dries out very quickly.\\
|
||||
|
||||
Room temperature in container & Good for up to a week. Catches mold more quickly.
|
||||
& Bread needs to be toasted for crust to become crisp again.\\
|
||||
|
||||
Fridge & Bread stays good for weeks. Can dry out a little bit when not using air-tight container.
|
||||
& Bread needs to be toasted. Requires fridge and energy.\\
|
||||
|
||||
Freezer & Bread stays good for years.
|
||||
& Requires thawing and then toasting. Requires freezer and energy.\\
|
||||
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{document}
|
||||
|
||||
Reference in New Issue
Block a user