[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Way to replace normal tabular env with booktabs?

From: John Hendy
Subject: [O] Way to replace normal tabular env with booktabs?
Date: Thu, 12 Jan 2012 12:50:18 -0600


I was using wikibooks for some formatting assistance on tables the other day and ran into mention of the booktabs package in the "Professional tables" section. [1] [2]

I really, really liked it's formatting, especially since one of my column headers was a fraction. The standard tabular package places the \hlines extremely close to the top and bottom of my header row vs., as the booktabs package says, having extremely nice looking spacing for the table. I ended up doing the table manually inside #+begin_latex block.

Would there be any way to specify that booktabs should be used? The formatting is literally identical except for 1) including the booktabs package and 2) using \toprule, \midrule and \bottomrule instead of \hlines. In fact, even with booktabs included, if you use \hlines instead of the booktab specific lines, you'll get a "regular" tabular table.

Any thoughts on this?

Best regards,

[1] http://en.wikibooks.org/wiki/LaTeX/Tables#Professional_tables
[2] http://www.ctan.org/tex-archive/macros/latex/contrib/booktabs/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]