mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-20 01:51:12 -06:00
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:
@@ -1,12 +1,12 @@
|
||||
\input{./vars}
|
||||
|
||||
\begin{document}
|
||||
\begin{tabular}{|l|r|r|}
|
||||
\hline
|
||||
\textbf{Ingredient} & \multicolumn{1}{l|}{\textbf{Percent}} & \multicolumn{1}{l|}{\textbf{Calculation}} \\ \hline
|
||||
1000g flour & 100\% & 1000g of 1000g = 100\% \\ \hline
|
||||
600g water & 60\% & 600g of 1000g = 60\% \\ \hline
|
||||
100g sourdough starter & 10\% & 100g of 1000g = 10\% \\ \hline
|
||||
20g salt & 2\% & 20g of 1000g = 2\% \\ \hline
|
||||
\begin{tabular}{lrr}
|
||||
\toprule
|
||||
\textbf{Ingredient} & \multicolumn{1}{l}{\textbf{Percent}} & \multicolumn{1}{l}{\textbf{Calculation}} \\ \midrule
|
||||
1000g flour & 100\% & 1000g of 1000g = 100\% \\ \midrule
|
||||
600g water & 60\% & 600g of 1000g = 60\% \\ \midrule
|
||||
100g sourdough starter & 10\% & 100g of 1000g = 10\% \\ \midrule
|
||||
20g salt & 2\% & 20g of 1000g = 2\% \\ \bottomrule
|
||||
\end{tabular}
|
||||
\end{document}
|
||||
|
||||
Reference in New Issue
Block a user