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:
cedounet
2023-06-01 14:38:37 +02:00
committed by GitHub
parent f0a3deaac3
commit 037ae6d7fd
25 changed files with 209 additions and 257 deletions

View File

@@ -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}