[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Setting width of babel-generated image in LaTeX export?
From: |
myles english |
Subject: |
Re: [O] Setting width of babel-generated image in LaTeX export? |
Date: |
Wed, 24 Oct 2012 22:51:41 +0100 |
User-agent: |
mu4e 0.9.9.5-dev1; emacs 24.2.1 |
Hi Michael,
Michael Gauland writes:
> 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]:
Try:
#+ATTR_LaTeX: width=3cm
Myles
> #+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]]