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:
cedounet
2023-05-25 12:36:30 +01:00
committed by GitHub
parent ca92125df8
commit 77d3a9c75b
23 changed files with 226 additions and 159 deletions

View File

@@ -1,14 +1,18 @@
\input{./vars}
\begin{document}
\begin{tabular}{|l|l|l|l|}
\hline
\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}} \\ \hline
30 & 86 & Yes & 5 \\ \hline
25 & 77 & Yes & 10 \\ \hline
20 & 68 & Yes & 15 \\ \hline
30 & 86 & No & 2.5 \\ \hline
25 & 77 & No & 5 \\ \hline
20 & 68 & No & 10 \\ \hline
\begin{tabular}{llll}
\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
\end{tabular}
\end{document}