From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: [PATCH] ox-latex: provide width and height options for images Date: Tue, 26 Feb 2013 21:02:39 -0500 Message-ID: <871uc2345c.fsf@gmail.com> References: <87obf63mq6.fsf@gmail.com> <1361906554-26709-1-git-send-email-aaronecay@gmail.com> <87ehg2fzhr.fsf@pank.iue.private> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAWM0-00050p-U0 for emacs-orgmode@gnu.org; Tue, 26 Feb 2013 21:02:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAWLz-00084I-Tj for emacs-orgmode@gnu.org; Tue, 26 Feb 2013 21:02:44 -0500 Received: from mail-qe0-f53.google.com ([209.85.128.53]:62259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAWLz-00084C-Pl for emacs-orgmode@gnu.org; Tue, 26 Feb 2013 21:02:43 -0500 Received: by mail-qe0-f53.google.com with SMTP id cz11so47594qeb.12 for ; Tue, 26 Feb 2013 18:02:43 -0800 (PST) In-Reply-To: <87ehg2fzhr.fsf@pank.iue.private> 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: Rasmus , emacs-orgmode@gnu.org 2013ko otsailak 26an, Rasmus-ek idatzi zuen: > I don't like it. Why would we use resizebox rather than the the > arguments in includegraphics for pictures? Because it achieves the same result, but allows the operation to be more uniform from the org side of things. A \resizebox is something that org can stuff any image into and have it be resized, so org doesn=E2=80=99t hav= e to deal with the different ways of resizing things. One thing that might be suspected is that passing the width and height to \includegraphics would allow it to scale down an image that is included at less than 100% size, shrinking the resultant pdf. But this is not what happens (at least for jpg images), in my testing. > For tikz figures resizing should be done via the scale argument to > preserve the right font sizes. If people want to resize a tikz figure > they should do so in their tikz code. There=E2=80=99s two ways of resizing tikz images: rescaling the distances between things and leaving the text alone, or resizing the whole image including the text. This supports the latter. Achim=E2=80=99s suggestion = about nested tikzpicture environments (which I intend to implement) takes care of the former. --=20 Aaron Ecay