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,12 +1,13 @@
\input{./vars}
\begin{document}
\begin{tabular}{|l|r|l|r|}
\hline
\textbf{W-Value} & \multicolumn{1}{l|}{\textbf{Hydration in \%}} & \textbf{Uses} & \multicolumn{1}{l|}{\textbf{Fermentation times}} \\ \hline
0-150 & 50 & Cookies & Very short \\ \hline
150-250 & 50-60 & Cakes, Bread, Pizza & Short-Medium \\ \hline
250-350 & 60-70 & Bread, Pizza & Long \\ \hline
350+ & 70-90 & Bread, Pizza & Very long \\ \hline
\begin{tabular}{lrlr}
\toprule
\textbf{W-Value} & \multicolumn{1}{l}{\textbf{Hydration in \%}} & \textbf{Uses} & \multicolumn{1}{l}{\textbf{Fermentation times}} \\ \midrule
0-150 & 50 & Cookies & Very short \\ \midrule
150-250 & 50-60 & Cakes, Bread, Pizza & Short-Medium \\ \midrule
250-350 & 60-70 & Bread, Pizza & Long \\ \midrule
350+ & 70-90 & Bread,
Pizza & Very long \\ \bottomrule
\end{tabular}
\end{document}