mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-23 11:31:12 -06:00
Nicer tables episode II (#111)
* Make headrow in tables bold
* Simplify tables markup
- Markup is definitely simpler.
- Will not be built separately in a pdf anymore.
- Fixed some typo as well
- Relatively coherent look
- Can be better, some sizes are relatively arbitrary
* Remove horizontal separation inside tables
Not very nice if you ask me..
* Fix some tables for the ebook
The alignement trick to have nicely alignment on = sign or on unit (g)
used broke the html. Reverting to a less optimal version on pdf while
not breaking the html.
* Simplify table for html output
* Revert "Simplify table for html output"
This reverts commit f85d65adb7.
* Revert pancake table
This way it builds ebook correctly.
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
\input{./vars}
|
||||
|
||||
\begin{document}
|
||||
\begin{tabular}{llll}
|
||||
% TODO: Not great Looking...
|
||||
\begin{tabular}{@{}p{0.25\textwidth}ccc@{}}
|
||||
\toprule
|
||||
\textbf{Oven type} & \textbf{Plain (no tools)} & \textbf{Inverted tray} & \textbf{Dutch oven} \\ \midrule
|
||||
Gas & No & No & Yes \\ \midrule
|
||||
\begin{tabular}[c]{@{}l@{}}Convection\\ (Fan always on)\end{tabular} & No & No & Yes \\ \midrule
|
||||
\begin{tabular}[c]{@{}l@{}}Convection\\ (Fan can be disabled)\end{tabular} & No & Yes & Yes \\ \midrule
|
||||
Steam &
|
||||
Yes & Yes & Yes \\
|
||||
\thead{Oven type} & \thead{Plain (no tools)} & \thead{Inverted tray} & \thead{Dutch oven} \\ \midrule
|
||||
Gas & No & No & Yes \\
|
||||
Convection (Fan always on) & No & No & Yes \\
|
||||
Convection (Fan can be disabled) & No & Yes & Yes \\
|
||||
Steam & Yes & Yes & Yes \\
|
||||
\bottomrule
|
||||
\end{tabular}
|
||||
\end{document}
|
||||
|
||||
Reference in New Issue
Block a user