emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Change default size of images?
@ 2011-03-08 11:28 Rainer M Krug
  2011-03-08 11:59 ` Juan Pechiar
  0 siblings, 1 reply; 3+ messages in thread
From: Rainer M Krug @ 2011-03-08 11:28 UTC (permalink / raw)
  To: emacs-orgmode

Hi

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...

Cheers,

Rainer


-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          Rainer@krugs.de

Skype:          RMkrug
Google:         R.M.Krug@gmail.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Change default size of images?
  2011-03-08 11:28 Change default size of images? Rainer M Krug
@ 2011-03-08 11:59 ` Juan Pechiar
  2011-03-08 12:33   ` Rainer M Krug
  0 siblings, 1 reply; 3+ messages in thread
From: Juan Pechiar @ 2011-03-08 11:59 UTC (permalink / raw)
  To: Rainer M Krug; +Cc: emacs-orgmode

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...

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Change default size of images?
  2011-03-08 11:59 ` Juan Pechiar
@ 2011-03-08 12:33   ` Rainer M Krug
  0 siblings, 0 replies; 3+ messages in thread
From: Rainer M Krug @ 2011-03-08 12:33 UTC (permalink / raw)
  To: Juan Pechiar; +Cc: emacs-orgmode

On Tue, Mar 8, 2011 at 12:59 PM, Juan Pechiar <juan@pechiar.com> wrote:
> 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.

Thanks - that is exactly what I was looking for.

Cheers,

Rainer

>
> 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...
>



-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          Rainer@krugs.de

Skype:          RMkrug
Google:         R.M.Krug@gmail.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-08 12:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08 11:28 Change default size of images? Rainer M Krug
2011-03-08 11:59 ` Juan Pechiar
2011-03-08 12:33   ` Rainer M Krug

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).