emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: latex export and booktabs tables


From: Thomas S. Dye
Subject: Re: [Orgmode] Re: latex export and booktabs tables
Date: Mon, 28 Jun 2010 22:00:30 -1000

Hi Eric,

This is neat, but it doesn't directly address the problem posed by the OP.  

Currently, the LaTeX exporter uses \hline for all the horizontal rules in a table.  Booktabs defines three rules of different thickness for use at the top of the table, after the column heads, and at the bottom of the table.  So, one would want a function that let each of the rules take a different value.  The default for each could be hline, giving the current behavior of the exporter.  Francesco Pizzolante set this out nicely a while back: http://www.mail-archive.com/address@hidden/msg18311.html in a message that Seb Vauban brought up in a slightly different context.

All the best,
Tom

On Jun 27, 2010, at 7:09 PM, Eric Schulte wrote:

One way to deal with this without adding even more complexity to the
core of org-mode could be through the use of "Library of Babel"
functions.

The attached org-mode file provides a function for exporting to the
longtable environment with some example usage.  If this looks generally
useful it (and maybe similar functions) could be added to the library of
babel distributed w/Org-mode.

What do you think? -- Eric

<longtable.org>
Sébastien Vauban <address@hidden> writes:

Hi Erik,

Erik Butz wrote:
I found a very old thread on the list about using the booktabs package to
have nicer tables in latex export.

I found that, making the changes below I can use the booktab package to
export tables, and using standard tables only, this seems to work fine.

Can anyone advice on whether this kind of change is meaningful or if this is
likely to introduce difficulties elsewhere which I did not experience due to
the limited scope of usage? It should be said that I did not at all look
into longtables so far.

While trying to improve this, I think one could extend it so that the table
environment can be changed as well, from `tabular' to `array', `tabular*',
`tabularx' or any other.

There was a discussion on this, a while ago, by Francesco Pizzolante. Have a
read at: http://www.mail-archive.com/address@hidden/msg18311.html.

Best regards,
 Seb
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


reply via email to

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