mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-12 14:11:11 -06:00
Improve the look of tables (#99)
In order tho make the tables look better in document:
1) Remove the vertical separation
2) Add different width for top/mid/bottom rules
3) Center them in the page
Co-authored-by: Cédric Andrieu <cedric@cirrus.com>
This commit is contained in:
@@ -1,12 +1,24 @@
|
||||
\input{./vars}
|
||||
|
||||
\begin{document}
|
||||
\begin{tabular}{|l|l|l|}
|
||||
\hline
|
||||
\textbf{Method} & \textbf{Advantages} & \textbf{Disadvantages} \\ \hline
|
||||
\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. \\ \hline
|
||||
\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} \\ \hline
|
||||
\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} \\ \hline
|
||||
\textbf{Freezer} & Bread stays good for years. & \begin{tabular}[c]{@{}l@{}}Requires thawing and then\\ toasting. Requires freezer and\\ energy.\end{tabular} \\ \hline
|
||||
\begin{tabular}{lll}
|
||||
\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
|
||||
\end{tabular}
|
||||
\end{document}
|
||||
|
||||
Reference in New Issue
Block a user