emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Setting width of babel-generated image in LaTeX export?


From: Michael Gauland
Subject: [O] Setting width of babel-generated image in LaTeX export?
Date: Wed, 24 Oct 2012 21:08:39 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

I'm having trouble specifying the width of an image I export to LaTeX (with
either the new or old exporter). The snippet below demonstrates my problem. It
uses plantuml to generate an image file, using ATTR_LaTeX to specify the width.
When exported, the .tex file specifies the default width (.9\linewidth) for the
first image; the second image correctly specifies a width of 4cm.

Am I doing something wrong, or is this a bug?
Thanks,
Mike

* Snippet
  #+ATTR_LaTeX[width=3cm]:
  #+BEGIN_SRC plantuml :file test-output.png
  FirstState: A Really Wide State To Make The Image Wider Than The Text
  SecondState: Another Really Wide State To Make The Image Wider Than The Text
  FirstState -right-> SecondState
  #+END_SRC

  #+RESULTS:
  [[file:test-output.png]]


  #+ATTR_LaTeX: width=4cm
  [[file:test-output.png]]





reply via email to

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