emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [PATCH] customize latex table export


From: Christophe Rhodes
Subject: [O] [PATCH] customize latex table export
Date: Thu, 19 May 2011 13:34:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi,

To produce documents in something approaching my organization's house
style, I need to be able to style the headers of tables.  It's nice that
orgtbl has the functionality for this, but the call to orgtbl-to-latex
has a hard-coded list of parameters with no possibility for extension.
With the attached patch, I am able to put e.g.

#+BIND: org-export-latex-tables-orgtbl-extra-parameters (:hfmt 
"\\multicolumn{1}{c}{\\bf\\color{white}\\cellcolor{blue}%s}")

in the header of my document, and tables throughout the document all
pick up this style.

I daresay that this is not the optimal way of doing things; while this
solves my immediate problem there is likely to be a more general way of
doing things.

Attachment: 0002-allow-customization-of-table-headers-in-latex-export.patch
Description: Text Data

Best,

Christophe

reply via email to

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