emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Booktabs in new LaTeX exporter


From: Thomas S. Dye
Subject: Re: [O] Booktabs in new LaTeX exporter
Date: Fri, 28 Dec 2012 09:06:18 -1000

I think the :align attribute expects a string instead of a symbol, so
:align "rr" is probably what you want.

I don't know about the new html exporter yet, but I'd be surprised if it
looks at LaTeX attributes.  You might want to experiment with alignment
cookies in the table to see if they do what you want:

http://orgmode.org/manual/Column-width-and-alignment.html#Column-width-and-alignment

I haven't used threeparttable or ctable.  Org footnotes work inside
tables, if you want the note to appear outside the table.

Typesetting tables is hard.  Let the list know if you get Org to work
with either of these packages.

All the best,
Tom

RCY <address@hidden> writes:

> Hi Tom,
> Thanks for your patience. I did finally figure out what I was doing wrong.
> I was using org-export-as-latex-to-buffer (which uses the default exporter)
> instead of org-e-latex-export-as-latex or org-e-latex-export-to-pdf.
> However, I am still unable to set something like ':align rr'  using
> org-e-export-as-html; it defaults to left alignment (the latex export works
> fine).
>
> One of the reasons I am trying out the new exporter is to be able to use
> booktabs and hopefully the threeparttable package which makes inclusion of
> footnotes convenient (I prefer ctable but this probably requires a
> different approach as it is implemented as a command).
> Have you tried to use either of these packages?
> Thanks.
>
> On Fri, Dec 28, 2012 at 12:27 PM, Thomas S. Dye <address@hidden> wrote:
>
>> Aloha RCY,
>>
>> Here is a (too long) working example that shows how to pass attributes.
>> See especially :align, where you've passed a symbol instead of a string.
>> Note that the new exporter is still in contrib and that at this stage in
>> its life is documented in the code and in some messages and
>> announcements that Nicolas Goaziou sent to the mailing list. It is still
>> necessary to refer to these scattered sources to learn about the new
>> exporter.
>>
>>
> Hi Tom, 
>
> Thanks for your patience. I did finally figure out what I was doing
> wrong. I was using org-export-as-latex-to-buffer (which uses the
> default exporter) instead of org-e-latex-export-as-latex or
> org-e-latex-export-to-pdf. However, I am still unable to set something
> like ':align rr'  using org-e-export-as-html; it defaults to left
> alignment (the latex export works fine).
>
> One of the reasons I am trying out the new exporter is to be able to
> use booktabs and hopefully the threeparttable package which makes
> inclusion of footnotes convenient (I prefer ctable but this probably
> requires a different approach as it is implemented as a command). 
> Have you tried to use either of these packages?
> Thanks.
>
> On Fri, Dec 28, 2012 at 12:27 PM, Thomas S. Dye <address@hidden> wrote:
>
>     Aloha RCY,
>     
>     Here is a (too long) working example that shows how to pass
>     attributes.
>     See especially :align, where you've passed a symbol instead of a
>     string.
>     Note that the new exporter is still in contrib and that at this
>     stage in
>     its life is documented in the code and in some messages and
>     announcements that Nicolas Goaziou sent to the mailing list. It is
>     still
>     necessary to refer to these scattered sources to learn about the
>     new
>     exporter.
>     
>     

-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com



reply via email to

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