emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Width always inserted with LaTeX figures
@ 2013-03-14  6:20 Richard Stanton
  2013-03-14  6:46 ` Aaron Ecay
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stanton @ 2013-03-14  6:20 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 597 bytes --]

At least with today's version (8.0-pre release_8.0-pre-67-gd3361c), if I include a figure and then export to LaTeX, the resulting TeX file insists on including its own width specification, even when I tell it the width I want. For example, the org text

#+ATTR_LaTeX: :options width=1.7in
[[file:images/RS_head_cropped.png]]

results in the following LaTeX source:

\includegraphics[width=1.7in,width=.9\linewidth]{images/RS_head_cropped.png}

The second width specification (which I didn't ask for) seems to override the one I ask for, so the figure ends up a lot bigger than I want.


[-- Attachment #2: Type: text/html, Size: 2577 bytes --]

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

* Re: Width always inserted with LaTeX figures
  2013-03-14  6:20 Width always inserted with LaTeX figures Richard Stanton
@ 2013-03-14  6:46 ` Aaron Ecay
  2013-03-14  7:07   ` Richard Stanton
  0 siblings, 1 reply; 3+ messages in thread
From: Aaron Ecay @ 2013-03-14  6:46 UTC (permalink / raw)
  To: Richard Stanton; +Cc: emacs-orgmode@gnu.org

Hi Richard,

You should use
#+ATTR_LATEX: :width 1.7in
instead of the version with :options.

This is a recent change, to make LaTeX image width consistent with
LaTeX tables and HTML images, both of which use a :width argument.
(It also allows the support of more types of images in LaTeX).

Aaron

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

* Re: Width always inserted with LaTeX figures
  2013-03-14  6:46 ` Aaron Ecay
@ 2013-03-14  7:07   ` Richard Stanton
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Stanton @ 2013-03-14  7:07 UTC (permalink / raw)
  To: Aaron Ecay; +Cc: emacs-orgmode@gnu.org

Thanks, Aaron.

-----Original Message-----
From: Aaron Ecay [mailto:aaronecay@gmail.com] 
Sent: Wednesday, March 13, 2013 11:47 PM
To: Richard Stanton
Cc: emacs-orgmode@gnu.org
Subject: Re: [O] Width always inserted with LaTeX figures

Hi Richard,

You should use
#+ATTR_LATEX: :width 1.7in
instead of the version with :options.

This is a recent change, to make LaTeX image width consistent with LaTeX tables and HTML images, both of which use a :width argument.
(It also allows the support of more types of images in LaTeX).

Aaron

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

end of thread, other threads:[~2013-03-14  7:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-14  6:20 Width always inserted with LaTeX figures Richard Stanton
2013-03-14  6:46 ` Aaron Ecay
2013-03-14  7:07   ` Richard Stanton

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