From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Stanton Subject: Width always inserted with LaTeX figures Date: Thu, 14 Mar 2013 06:20:51 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_CE09F36B1F891947ACDD158E233F555A06BACEexmail10bhaasucbe_" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG1X7-0008Ew-OB for emacs-orgmode@gnu.org; Thu, 14 Mar 2013 02:20:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UG1X3-0006aG-Sy for emacs-orgmode@gnu.org; Thu, 14 Mar 2013 02:20:57 -0400 Received: from gateway-a.haas.berkeley.edu ([128.32.222.29]:21259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG1X3-0006Xm-MK for emacs-orgmode@gnu.org; Thu, 14 Mar 2013 02:20:53 -0400 Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --_000_CE09F36B1F891947ACDD158E233F555A06BACEexmail10bhaasucbe_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable At least with today's version (8.0-pre release_8.0-pre-67-gd3361c), if I in= clude 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=3D1.7in [[file:images/RS_head_cropped.png]] results in the following LaTeX source: \includegraphics[width=3D1.7in,width=3D.9\linewidth]{images/RS_head_cropped= .png} The second width specification (which I didn't ask for) seems to override t= he one I ask for, so the figure ends up a lot bigger than I want. --_000_CE09F36B1F891947ACDD158E233F555A06BACEexmail10bhaasucbe_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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 r= esulting TeX file insists on including its own width specification, even wh= en I tell it the width I want. For example, the org text

 

#+ATTR_LaTeX: :options width=3D1.7in<= /p>

[[file:images/RS_head_cropped.png]]

 

results in the following LaTeX source:

 

\includegraphics[width=3D1.7in,width=3D.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.

 

--_000_CE09F36B1F891947ACDD158E233F555A06BACEexmail10bhaasucbe_--