From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: set default width for figure floats? Date: Mon, 14 Mar 2016 09:07:05 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afNX5-0003T0-3q for emacs-orgmode@gnu.org; Mon, 14 Mar 2016 04:07:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afNX1-0008JF-2Z for emacs-orgmode@gnu.org; Mon, 14 Mar 2016 04:07:19 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:34492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afNX0-0008IY-Sd for emacs-orgmode@gnu.org; Mon, 14 Mar 2016 04:07:15 -0400 Received: by mail-wm0-f51.google.com with SMTP id p65so90406870wmp.1 for ; Mon, 14 Mar 2016 01:07:14 -0700 (PDT) In-Reply-To: (John Kitchin's message of "Fri, 11 Mar 2016 09:48:15 -0500") 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: John Kitchin Cc: emacs-orgmode --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable John Kitchin writes: > Rainer M Krug writes: > >> John Kitchin writes: >> >>> Maybe you want org-image-actual-width >>> >>> This sets teh width in org, if you have a working imagemagick. >> >> No - I don't want any scaling. They are graphs I have created in R and I >> want to conserve the font sizes in the paper. > This is only scaling in the org buffer. I find high resolution (high > dpi) are often too large in my emacs, so I set this to be something like > 300 to 600 to keep the figures reasonably sized in the buffer. It has no > effect on the LaTeX export. OK - I'll keep it in ind when I view the images in org. Thanks, Rainer > >> >>> >>> org-latex-image-default-width contains the default latex scaling. >>> Probably you can set this to nil to avoid scaling. >> >> Setting it to "" works perfectly. I have now set: >> >> --8<---------------cut here---------------start------------->8--- >> #+BIND: org-latex-image-default-width "" >> --8<---------------cut here---------------end--------------->8--- >> >> as well as >> >> --8<---------------cut here---------------start------------->8--- >> # Local Variables: >> # eval: (visual-line-mode 1) >> # org-latex-image-default-width: "" >> # End: >> --8<---------------cut here---------------end--------------->8--- >> >> I don't know if one is sufficient - I just leave them in and might try >> later. >> >> Thanks a lot, >> >> Rainer >> >>> >>> >>> Rainer M Krug writes: >>> >>>> I think this has been asked before, but I can't find it: >>>> >>>> Is there a way of setting the default width for images included as >>>> >>>> [[file:map-All.png]] >>>> >>>> in org documents? It seems that the default is >>>> >>>> \includegraphics[width=3D.9\linewidth]{map-All.png} >>>> >>>> and I don't want the images to be scaled, but to let them keep their o= wn >>>> size. >>>> >>>> Is this possible (I'd like to avoid having to use #+ATTR_LATEX :width >>>> before each - and even then I would have no idea to unset the value) >>>> >>>> Thanks, >>>> >>>> Rainer >>> >>> >>> -- >>> Professor John Kitchin >>> Doherty Hall A207F >>> Department of Chemical Engineering >>> Carnegie Mellon University >>> Pittsburgh, PA 15213 >>> 412-268-7803 >>> @johnkitchin >>> http://kitchingroup.cheme.cmu.edu > > > -- > Professor John Kitchin > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJW5nEuAAoJENvXNx4PUvmCOi0IAMSIltai6B8FrXrGGOn8n0AO lEUt/aWXt4TgwRYltAaB37XWHhk4XD5yMMwPniAlXuyrpKIAaAU4wzLFSoeSn/sy oIVA6Z/+wtqB4243nm4ASuvlI0nnAkccxxE29y1zZHm+xuS4zzLWS/LzShg4v7aW w+qJO1RgHQaybFTuf4OkblRQl07FDE1oKcOUGXBDy4RvUi9j1b2Ry6+o6vfvl/U3 GexqibVToc1t9aala8u4r19/ktTQt5cYDZUB+m2VeUg/sDwjjIoxoGFz3Ik1z0Y6 jN+43gg5uGv+PnmLNpUTySVPyQWqfEoIATYDALJt3dJw2TXZbQ413JhflWDslGA= =CVJw -----END PGP SIGNATURE----- --=-=-=--