From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Way to replace normal tabular env with booktabs? Date: Thu, 12 Jan 2012 17:19:02 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec52d58f752a1dc04b65cf978 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlTvI-0007LO-I9 for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 18:19:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlTvG-0006nz-HO for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 18:19:08 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:52265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlTvF-0006nn-Qu for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 18:19:06 -0500 Received: by bkuw5 with SMTP id w5so2150176bku.0 for ; Thu, 12 Jan 2012 15:19:04 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: emacs-orgmode --bcaec52d58f752a1dc04b65cf978 Content-Type: text/plain; charset=UTF-8 On Thu, Jan 12, 2012 at 2:12 PM, Thomas S. Dye wrote: > Hi John, > > Agreed, booktabs makes good looking tables. > > Check out your Library of Babel. There should be a couple of functions > there that will help you go from Org mode to booktabs. > > Haven't done much with babel other than writing code blocks. Do you mean this page? --- http://orgmode.org/worg/org-contrib/babel/library-of-babel.html Thanks for the suggestion. Feeling a bit lost, but am happy to look around for something that seems similar. I have no elisp-fu, so it'll need to be pretty darn similar :) John > hth, > Tom > > John Hendy writes: > > > Greetings, > > > > > > 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, > > John > > > > ----- > > [1] http://en.wikibooks.org/wiki/LaTeX/Tables#Professional_tables > > [2] http://www.ctan.org/tex-archive/macros/latex/contrib/booktabs/ > > Greetings,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,John-----[1] > http://en.wikibooks.org/wiki/LaTeX/Tables#Professional_tables > > [2] http://www.ctan.org/tex-archive/macros/latex/contrib/booktabs/ > > -- > Thomas S. Dye > http://www.tsdye.com > --bcaec52d58f752a1dc04b65cf978 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Thu, Jan 12, 2012 at 2:12 PM, Thomas = S. Dye <tsd@tsdye.com= > wrote:
Hi John,

Agreed, booktabs makes good looking tables.

Check out your Library of Babel. =C2=A0There should =C2=A0be a couple of fu= nctions
there that will help you go from Org mode to booktabs.


Haven't done much with babel other= than writing code blocks. Do you mean this page?

Thanks for the suggestion. Feeling a bit lost, but am h= appy to look around for something that seems similar. I have no elisp-fu, s= o it'll need to be pretty darn similar :)


John
=C2=A0
hth,
Tom

John Hendy <jw.hendy@gmail.com= > writes:

> Greetings,
>
>
> I was using wikibooks for some formatting assistance on tables the oth= er
> day and ran into mention of the booktabs package in the "Professi= onal
> 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 \hline= s
> extremely close to the top and bottom of my header row vs., as the boo= ktabs
> package says, having extremely nice looking spacing for the table. I e= nded
> 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 \hl= ines.
> In fact, even with booktabs included, if you use \hlines instead of th= e
> booktab specific lines, you'll get a "regular" tabular t= able.
>
> Any thoughts on this?
>
>
> Best regards,
> John
>
> -----
> [1] http://en.wikibooks.org/wiki/LaTeX/Tables#Profess= ional_tables
> [2] http://www.ctan.org/tex-archive/macros/latex/con= trib/booktabs/
> Greetings,I was using wikibooks for some formatting assist= ance on tables the other day and ran into mention of the booktabs package i= n the "Professional tables" section. [1] [2]
> I really, really liked it&#39;s formatting, especially since one o= f 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 fo= rmatting is literally identical except for 1) including the booktabs packag= e and 2) using \toprule, \midrule and \bottomrule instead of \hlines. In fa= ct, even with booktabs included, if you use \hlines instead of the booktab = specific lines, you&#39;ll get a "regular" tabular table.
> Any thoughts on this?Best regards,John-----[1]=C2=A0h= ttp://en.wikibooks.org/wiki/LaTeX/Tables#Professional_tables
> [2]=C2=A0http://www.ctan.org/tex-archive/macros/late= x/contrib/booktabs/

--
Thomas S. Dye
http://www.tsdye.com=

--bcaec52d58f752a1dc04b65cf978--