This does not work for me with the new exporter: #attr_latex :width \textwidth Is there another way to do it? Vikas
[-- Attachment #1: Type: text/plain, Size: 324 bytes --] On Apr 12, 2013 7:52 AM, "Vikas Rawal" <vikaslists@agrarianresearch.org> wrote: > > This does not work for me with the new exporter: > > #attr_latex :width \textwidth > If this was copied and pasted you're missing a colon. I do that all the time :) #+attr_latex: :width John > Is there another way to do it? > > Vikas > [-- Attachment #2: Type: text/html, Size: 497 bytes --]
Sorry, I meant: #+attr_latex :width \textwidth Vikas
[-- Attachment #1: Type: text/plain, Size: 229 bytes --] And I still mean #+attr_ latex: :width :) You're still missing a colon. John On Apr 12, 2013 7:48 PM, "Vikas Rawal" <vikaslists@agrarianresearch.org> wrote: > > Sorry, I meant: > > #+attr_latex :width \textwidth > > Vikas > > > [-- Attachment #2: Type: text/html, Size: 388 bytes --]
> And I still mean #+attr_ latex: :width :) You're still missing a colon.
>
:). Sorry, I was not copying and pasting.
Anyhow, this works:
#+attr_latex: :environment tabulary :width \textwidth :align L|RRRRRR
Thanks,
Vikas
Hello,
Vikas Rawal <vikaslists@agrarianresearch.org> writes:
> Anyhow, this works:
>
> #+attr_latex: :environment tabulary :width \textwidth :align L|RRRRRR
For the record, for simple ":align" strings, you can also use Org
syntax:
| / | > | | | | | | |
| | <l> | <r> | <r> | <r> | <r> | <r> | <r> |
| | a | b | c | d | e | f | g |
It is more intrusive, but it will (should) work in all back-ends.
Regards,
--
Nicolas Goaziou
On Sat, Apr 13, 2013 at 6:50 AM, Vikas Rawal <vikaslists@agrarianresearch.org> wrote: > >> And I still mean #+attr_ latex: :width :) You're still missing a colon. >> > > :). Sorry, I was not copying and pasting. > > Anyhow, this works: > > #+attr_latex: :environment tabulary :width \textwidth :align L|RRRRRR What was the fix? Using =:environment tabulary= ? Or was it a syntax error? Thanks, John > > Thanks, > > Vikas
> > Anyhow, this works:
> >
> > #+attr_latex: :environment tabulary :width \textwidth :align L|RRRRRR
>
> What was the fix? Using =:environment tabulary= ? Or was it a syntax error?
>
I don't know actually :). I guess I was trying various things, quoting
the strings, using :options, etc. It was a bit of a trial and error
that I did.
Vikas
> >
> > #+attr_latex: :environment tabulary :width \textwidth :align L|RRRRRR
>
> For the record, for simple ":align" strings, you can also use Org
> syntax:
>
> | / | > | | | | | | |
> | | <l> | <r> | <r> | <r> | <r> | <r> | <r> |
> | | a | b | c | d | e | f | g |
>
> It is more intrusive, but it will (should) work in all back-ends.
>
tabulary allows me to use L and R where the column contents are nicely
wrapped. I do not know if this would work with align strings in the
table.
Also, my tables are created by babel source code blocks. I would have
to hack that code to insert additional rows in the table. Am not sure
if that is a good idea.
Vikas