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,16 +1,17 @@
\input{./vars}
\begin{document}
\begin{tabular}{|l|l|l|l|l|}
\hline
\textbf{Grain type} & \textbf{Homogenize} & \textbf{Knead} & \textbf{Stretch \& Fold} & \textbf{Shape} \\ \hline
\textbf{Wheat} & Yes & Yes & Yes & Yes \\ \hline
\textbf{\textgreater 70\% Wheat} & Yes & Yes & Yes & Yes \\ \hline
\textbf{Spelt} & Yes & Yes & Yes & Yes \\ \hline
\textbf{Rye} & Yes & No & No & No \\ \hline
\textbf{Emmer} & Yes & No & No & No \\ \hline
\textbf{Einkorn} & Yes & No & No & No \\ \hline
\textbf{Rice} & Yes & No & No & No \\ \hline
\textbf{Corn} & Yes & No & No & No \\ \hline
\begin{tabular}{lllll}
\toprule
\textbf{Grain type} & \textbf{Homogenize} & \textbf{Knead} & \textbf{Stretch \& Fold} & \textbf{Shape} \\ \midrule
\textbf{Wheat} & Yes & Yes & Yes & Yes \\ \midrule
\textbf{\textgreater 70\% Wheat} & Yes & Yes & Yes & Yes \\ \midrule
\textbf{Spelt} & Yes & Yes & Yes & Yes \\ \midrule
\textbf{Rye} & Yes & No & No & No \\ \midrule
\textbf{Emmer} & Yes & No & No & No \\ \midrule
\textbf{Einkorn} & Yes & No & No & No \\ \midrule
\textbf{Rice} & Yes & No & No & No \\ \midrule
\textbf{Corn} & Yes & No & No
& No \\ \bottomrule
\end{tabular}
\end{document}