From: "myles english" <mylesenglish@gmail.com>
To: Michael Gauland <mikelygee@no8wireless.co.nz>
Cc: emacs-orgmode@gnu.org
Subject: Re: Setting width of babel-generated image in LaTeX export?
Date: Wed, 24 Oct 2012 22:51:41 +0100 [thread overview]
Message-ID: <87mwzbfsia.fsf@ed.ac.uk> (raw)
In-Reply-To: <loom.20121024T230303-806@post.gmane.org>
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]]
next prev parent reply other threads:[~2012-10-24 21:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-24 21:08 Setting width of babel-generated image in LaTeX export? Michael Gauland
2012-10-24 21:51 ` myles english [this message]
2012-10-24 21:55 ` Thomas S. Dye
2012-10-24 23:08 ` Michael Gauland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mwzbfsia.fsf@ed.ac.uk \
--to=mylesenglish@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mikelygee@no8wireless.co.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.