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,18 +1,12 @@
\input{./vars}
\begin{document}
\begin{tabular}{llll}
\begin{tabular}{@{}ccr@{}}
\toprule
\textbf{\begin{tabular}[c]{@{}l@{}}Temperature\\ in °C\end{tabular}} & \textbf{\begin{tabular}[c]{@{}l@{}}Temperature\\ in °F\end{tabular}} & \textbf{\begin{tabular}[c]{@{}l@{}}Starter\\ recently fed?\end{tabular}} & \textbf{\begin{tabular}[c]{@{}l@{}}Amount\\ of starter in\%\end{tabular}} \\ \midrule
30 & 86 & Yes & 5 \\ \midrule
25 & 77 & Yes & 10 \\ \midrule
20 & 68 & Yes & 15 \\ \midrule
30 & 86 & No & 2.5 \\ \midrule
25 & 77 & No & 5 \\ \midrule
20 & 68
& No
& 10
\\
\bottomrule
&\multicolumn{2}{c}{\textbf{Starter}}\\
\cmidrule(rl){2-3}
\thead{°C / °F} & \thead{Recently fed?} & \thead{Amount (\%)} \\ \midrule
30 / 86 & Yes & 5 \\
25 / 77 & Yes & 10 \\
20 / 68 & Yes & 15 \\
30 / 86 & No & 2.5\\
25 / 77 & No & 5 \\
20 / 68 & No & 10 \\ \bottomrule
\end{tabular}
\end{document}