mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-10 13:11:13 -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,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}
|
||||
|
||||
Reference in New Issue
Block a user