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,13 +1,14 @@
\input{./vars}
\begin{document}
\begin{tabular}{|l|l|l|}
\hline
& \textbf{Flat breads} & \textbf{Pancakes} \\ \hline
\textbf{Flour} & 100g & 100g \\ \hline
\textbf{Water} & 100g (100\%) & 300g (300\%) \\ \hline
\textbf{Sourdough starter} & 5-20g (5-20\%) & 5-20g (5-20\%) \\ \hline
\textbf{Salt} & 2g (2\%) & 2g (2\%) \\ \hline
\textbf{When bake?} & Dough increased 50 percent in size & Bubbles visible on surface \\ \hline
\begin{tabular}{lll}
\toprule
& \textbf{Flat breads} & \textbf{Pancakes} \\ \midrule
\textbf{Flour} & 100g & 100g \\ \midrule
\textbf{Water} & 100g (100\%) & 300g (300\%) \\ \midrule
\textbf{Sourdough starter} & 5-20g (5-20\%) & 5-20g (5-20\%) \\ \midrule
\textbf{Salt} & 2g (2\%) & 2g (2\%) \\ \midrule
\textbf{When bake?} & Dough increased 50 percent in size & Bubbles
visible on surface \\ \bottomrule
\end{tabular}
\end{document}