emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [new exporter] latex export and attr_latex
@ 2013-03-07  2:22 Vikas Rawal
  2013-03-07  2:40 ` Thomas S. Dye
  0 siblings, 1 reply; 2+ messages in thread
From: Vikas Rawal @ 2013-03-07  2:22 UTC (permalink / raw)
  To: emacs-orgmode

There has been a change in the way attr_latex is used in the new
exporter. Nicolas has given the details at 
http://thread.gmane.org/gmane.emacs.orgmode/62766.

Would somebody have time to elaborate with an example how to use it
for tabularx/tabulary environment.

In case of old exporter, I used to have something like this:

#+ATTR_LATEX: tabulary width=\textwidth align=l|rRRRR

How should this change in the new exporter?

Vikas

PS: Been wondering, Nicolas Goaziou must be a super human!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [new exporter] latex export and attr_latex
  2013-03-07  2:22 [new exporter] latex export and attr_latex Vikas Rawal
@ 2013-03-07  2:40 ` Thomas S. Dye
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas S. Dye @ 2013-03-07  2:40 UTC (permalink / raw)
  To: emacs-orgmode

Aloha Vikas,

Vikas Rawal <vikaslists@agrarianresearch.org> writes:

> There has been a change in the way attr_latex is used in the new
> exporter. Nicolas has given the details at 
> http://thread.gmane.org/gmane.emacs.orgmode/62766.
>
> Would somebody have time to elaborate with an example how to use it
> for tabularx/tabulary environment.
>
> In case of old exporter, I used to have something like this:
>
> #+ATTR_LATEX: tabulary width=\textwidth align=l|rRRRR
>
> How should this change in the new exporter?

This might work:

#+attr_latex: :environment "tabulary" :align "l|rRRRR" :width "\\textwidth"

Note the double backslashes for the LaTeX command.

hth,
Tom

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-07  2:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-07  2:22 [new exporter] latex export and attr_latex Vikas Rawal
2013-03-07  2:40 ` Thomas S. Dye

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).