unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Ellis Adigvom <ellisadigvom@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Controlling the size of org babel image outputs in latex
Date: Wed, 17 Oct 2018 15:17:53 +0000	[thread overview]
Message-ID: <d25e02a9-5872-31d1-22ff-73cedf5df7f4@gmail.com> (raw)

Hi,

I have an org mode document with some embedded PlantUML code blocks. I 
export this file to PDF through latex (C-c C-e l p). I have some 
diagrams which are rather small, but they are expanded to fill the page, 
and this looks awkward in the result.

How can I control the size of the image in the exported file? I've tried 
using:

     #+ATTR_LATEX: :width: 4cm
     #+BEGIN_SRC plantuml :file diagram.png

     ...

     #+END_SRC

But this doesn't have any impact on the output. Can anyone help me with 
this?




             reply	other threads:[~2018-10-17 15:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-17 15:17 Ellis Adigvom [this message]
2018-10-18  7:27 ` Controlling the size of org babel image outputs in latex Sharon Kimble

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d25e02a9-5872-31d1-22ff-73cedf5df7f4@gmail.com \
    --to=ellisadigvom@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).