emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Juan Pechiar <juan@pechiar.com>
To: Rainer M Krug <r.m.krug@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Change default size of images?
Date: Tue, 8 Mar 2011 09:59:48 -0200	[thread overview]
Message-ID: <20110308115948.GA18129@soloJazz.com> (raw)
In-Reply-To: <AANLkTincoMPmVcpVdjOGWdHtm3UX10yxuaUu2aY2SiS+@mail.gmail.com>

Add something like this together with your export headers:

#+BIND: org-export-latex-image-default-option "width=0.9\\textwidth,height=0.7\\textheight,keepaspectratio"

The general rule for +BIND is to provide LISP variables and values
(See 12.2 Export Options in Org manual).

You may need to customize org-export-allow-BIND so that org-mode does
not require confirmation each time you export.

Regards,
.j.

On Tue, Mar 08, 2011 at 12:28:31PM +0100, Rainer M Krug wrote:
> I want to change the default size of imanges when exporting to LaTeX -
> how can I do this?
>
> I know about,
>
> #+ATTR_LaTeX: width=5cm
>
> but as I have a lot of images, it would be much easier to change the
> setting for the whole document.
> In addition, my images are in a table and I would have no idea where
> to put the #+ATTR_LaTeX...

  reply	other threads:[~2011-03-08 11:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-08 11:28 Change default size of images? Rainer M Krug
2011-03-08 11:59 ` Juan Pechiar [this message]
2011-03-08 12:33   ` Rainer M Krug

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.orgmode.org/

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

  git send-email \
    --in-reply-to=20110308115948.GA18129@soloJazz.com \
    --to=juan@pechiar.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=r.m.krug@gmail.com \
    /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 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).