From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Way to replace normal tabular env with booktabs? Date: Thu, 12 Jan 2012 14:01:09 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlUa6-0008GV-5z for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 19:01:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlUa4-0004XQ-N5 for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 19:01:18 -0500 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:47121) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RlUa4-0004XL-FZ for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 19:01:16 -0500 In-Reply-To: (John Hendy's message of "Thu, 12 Jan 2012 17:19:02 -0600") 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: John Hendy Cc: emacs-orgmode Hi John, The Library of Babel comes with your Org-mode distribution. You'll find it at /contrib/babel/library-of-babel.org In the org file, look for=20 * Tables ** LaTeX Table Export There should be functions booktabs and booktabs-notes. One way to use booktabs is described here: http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-13-2 hth, Tom John Hendy writes: > 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 oth= er >> > 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 col= umn >> > 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 tabl= es >> 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 t= he >> booktabs package says, having extremely nice looking spacing for the tab= le. >> 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 \hlin= es. >> 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 >> > 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. =C2=A0There should =C2=A0be 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 m= ean this page?---=C2=A0http://orgmode.org/worg/org-contrib/babel/library-of= -babel.html > Thanks for the suggestion. Feeling a bit lost, but am happy to look aroun= d for something that seems similar. I have no elisp-fu, so it'll need t= o be pretty darn similar :) > John=C2=A0 > 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 c= olumn >> 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 bookt= abs >> package says, having extremely nice looking spacing for the table. I end= ed >> 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 \hlin= es. >> 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 "Profess= ional tables" section. [1] [2] >> I really, really liked it's formatting, especially since one of my c= olumn headers was a fraction. The standard tabular package places the \hlin= es extremely close to the top and bottom of my header row vs., as the bookt= abs package says, having extremely nice looking spacing for the table. I en= ded up doing the table manually inside #+begin_latex block. > >> Would there be any way to specify that booktabs should be used? The form= atting 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 sp= ecific lines, you'll get a "regular" tabular table. > >> Any thoughts on this?Best regards,John-----[1]=C2=A0http://en.wikibooks.= org/wiki/LaTeX/Tables#Professional_tables >> [2]=C2=A0http://www.ctan.org/tex-archive/macros/latex/contrib/booktabs/ > > -- > Thomas S. Dye > http://www.tsdye.com > --=20 Thomas S. Dye http://www.tsdye.com