emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* #attr_latex :width \textwidth
@ 2013-04-12 12:52 Vikas Rawal
  2013-04-12 12:56 ` John Hendy
  2013-04-13  0:47 ` Vikas Rawal
  0 siblings, 2 replies; 9+ messages in thread
From: Vikas Rawal @ 2013-04-12 12:52 UTC (permalink / raw)
  To: emacs-orgmode

This does not work for me with the new exporter:

#attr_latex :width \textwidth

Is there another way to do it?

Vikas

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

* Re: #attr_latex :width \textwidth
  2013-04-12 12:52 #attr_latex :width \textwidth Vikas Rawal
@ 2013-04-12 12:56 ` John Hendy
  2013-04-13  0:47 ` Vikas Rawal
  1 sibling, 0 replies; 9+ messages in thread
From: John Hendy @ 2013-04-12 12:56 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

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

* Re: #attr_latex :width \textwidth
  2013-04-12 12:52 #attr_latex :width \textwidth Vikas Rawal
  2013-04-12 12:56 ` John Hendy
@ 2013-04-13  0:47 ` Vikas Rawal
  2013-04-13  7:31   ` John Hendy
  1 sibling, 1 reply; 9+ messages in thread
From: Vikas Rawal @ 2013-04-13  0:47 UTC (permalink / raw)
  To: emacs-orgmode

Sorry, I meant:

#+attr_latex :width \textwidth

Vikas

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

* Re: #attr_latex :width \textwidth
  2013-04-13  0:47 ` Vikas Rawal
@ 2013-04-13  7:31   ` John Hendy
  2013-04-13 11:50     ` Vikas Rawal
  0 siblings, 1 reply; 9+ messages in thread
From: John Hendy @ 2013-04-13  7:31 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

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

* Re: #attr_latex :width \textwidth
  2013-04-13  7:31   ` John Hendy
@ 2013-04-13 11:50     ` Vikas Rawal
  2013-04-13 15:31       ` Nicolas Goaziou
  2013-04-13 15:57       ` John Hendy
  0 siblings, 2 replies; 9+ messages in thread
From: Vikas Rawal @ 2013-04-13 11:50 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode


> 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

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

* Re: #attr_latex :width \textwidth
  2013-04-13 11:50     ` Vikas Rawal
@ 2013-04-13 15:31       ` Nicolas Goaziou
  2013-04-14  5:16         ` Vikas Rawal
  2013-04-13 15:57       ` John Hendy
  1 sibling, 1 reply; 9+ messages in thread
From: Nicolas Goaziou @ 2013-04-13 15:31 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode

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

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

* Re: #attr_latex :width \textwidth
  2013-04-13 11:50     ` Vikas Rawal
  2013-04-13 15:31       ` Nicolas Goaziou
@ 2013-04-13 15:57       ` John Hendy
  2013-04-14  0:27         ` Vikas Rawal
  1 sibling, 1 reply; 9+ messages in thread
From: John Hendy @ 2013-04-13 15:57 UTC (permalink / raw)
  To: John Hendy, emacs-orgmode

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

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

* Re: #attr_latex :width \textwidth
  2013-04-13 15:57       ` John Hendy
@ 2013-04-14  0:27         ` Vikas Rawal
  0 siblings, 0 replies; 9+ messages in thread
From: Vikas Rawal @ 2013-04-14  0:27 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode


> > 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

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

* Re: #attr_latex :width \textwidth
  2013-04-13 15:31       ` Nicolas Goaziou
@ 2013-04-14  5:16         ` Vikas Rawal
  0 siblings, 0 replies; 9+ messages in thread
From: Vikas Rawal @ 2013-04-14  5:16 UTC (permalink / raw)
  To: emacs-orgmode

> >
> > #+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

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

end of thread, other threads:[~2013-04-14  6:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-12 12:52 #attr_latex :width \textwidth Vikas Rawal
2013-04-12 12:56 ` John Hendy
2013-04-13  0:47 ` Vikas Rawal
2013-04-13  7:31   ` John Hendy
2013-04-13 11:50     ` Vikas Rawal
2013-04-13 15:31       ` Nicolas Goaziou
2013-04-14  5:16         ` Vikas Rawal
2013-04-13 15:57       ` John Hendy
2013-04-14  0:27         ` Vikas Rawal

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).