From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sIcZBEYQl1/8WgAA0tVLHw (envelope-from ) for ; Mon, 26 Oct 2020 18:07:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4LsnAEYQl1/0VwAA1q6Kng (envelope-from ) for ; Mon, 26 Oct 2020 18:07:02 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AE0879401BC for ; Mon, 26 Oct 2020 18:07:01 +0000 (UTC) Received: from localhost ([::1]:50052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kX6tY-0006uG-FC for larch@yhetil.org; Mon, 26 Oct 2020 14:07:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kX6fP-0006AK-6R for emacs-orgmode@gnu.org; Mon, 26 Oct 2020 13:52:23 -0400 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]:41292) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kX6fN-0004Pc-EU for emacs-orgmode@gnu.org; Mon, 26 Oct 2020 13:52:22 -0400 Received: by mail-lj1-x22a.google.com with SMTP id p15so11183162ljj.8 for ; Mon, 26 Oct 2020 10:52:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n65IbtpOBHr3NTjtWTsYz6gXivqFfa4q9xtdnhyBRDA=; b=E45RtKn/GHk3+1pBY4yroxod+k2liSmO61UZ1m0xAz2bgRVwHONLyZigdqWaS3M6+L ATY4JyhbWsHKQdnZuZYDIrlMCw//pUIytz4I/60rAW3HVG+IFyUSM3HCcWaDAkfLrkbC iNUrYn8zqxCC1PVH4eTi7zKS/cX7vWW92M6DOqYmj+YFZuUMpJxo06Ofor+Aa5mgqx7J p5oHivTchtOBzu/zKfpwdblaJGMi+c4GegEUrJgoviLlz2JqfOAWXzMah6/f19BwDC7K U5l56c3KD8Qz0tWE+y7l/etJQAvBmsu12AIQ3YTDcv5gmzEc9g9/0IVC80sj6A9UoHWe dpyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n65IbtpOBHr3NTjtWTsYz6gXivqFfa4q9xtdnhyBRDA=; b=M8UPi3jMX4s6MeYvDKy9bVlnm2ruTUnbncAHJdTv5yOcic9HUGyWAQpCOlGkdx7iWd 85VJ07w3Og5T5UMB3jPruS9PdWzC9aTlW7WQdxFf2EGxlLz/C4uj0rSE5SX5+dBeLITL p9ez7gxgfLf5cV80uO7na1QaNXGl5IjAV49B4YPFRi+PpxqQyRUnXJJu9noG48lJH7cn U8uy8glGeDfp/ENJhIoZEwzh2gje274RZ3FSD7pvBMeiCalBD7o7Bo+6NJM5eAHeP0T2 zwvMzw+L5ZIfcm8679xrOd3DjiRx/EUbLRa9CzFmK0C8voeiicIa8RM+5Ynlch4nYP89 PJHg== X-Gm-Message-State: AOAM5301THcxBVvi53K8VTVbLVp4Lk6IlgjclaHKajrq/1zCbRFq+yy7 /w1vXUu3gxakHtx9v44ecqiPr00rE54X+jwrwKg= X-Google-Smtp-Source: ABdhPJwPQnoMri74WnAcDmrUhCdpC/IHn2j5+4ydh55FN1L9Gc5FyWbB3bCwuWb/pBYhnWzXB0R3SCkl9Os9k9Z6nCg= X-Received: by 2002:a2e:9c3:: with SMTP id 186mr6795735ljj.134.1603734739125; Mon, 26 Oct 2020 10:52:19 -0700 (PDT) MIME-Version: 1.0 References: <875z72rtmg.fsf@gmail.com> In-Reply-To: From: Mirko Vukovic Date: Mon, 26 Oct 2020 13:51:42 -0400 Message-ID: Subject: Re: Babel->Latex export: how to set includegraphics scale? To: TEC Content-Type: multipart/alternative; boundary="000000000000708ddf05b296975f" Received-SPF: pass client-ip=2a00:1450:4864:20::22a; envelope-from=mirko.vukovic@gmail.com; helo=mail-lj1-x22a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=E45RtKn/; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.71 X-TUID: jzjtAIDawEGe --000000000000708ddf05b296975f Content-Type: text/plain; charset="UTF-8" On Fri, Oct 23, 2020 at 2:12 PM Mirko Vukovic wrote: > > On Thu, Oct 22, 2020 at 2:41 PM TEC wrote: > >> >> Hi Mirko >> >> Mirko Vukovic writes: >> >> > Instead specifying the width, I'd like to use the parameter >> > \scale. >> >> Have you tried #+attr_latex: :scale SCALE ? >> >> > Your email triggered me to pay attention to settings of latex export, and > not orb-babel. > I found org-latex-default-image-scale customizable variable. > > I need to figure out how to set it in the file itself in the header. > > But at least for now, I set it in the Emacs' session and I get the desired > result. > I solved my problem by placing #+attr_latex: scale scale just before the #results like so: #+begin_src ... ... #+end_src #+attr_latex: :width 1.0\linewidth #+RESULTS: ... Thanks, Mirko > --000000000000708ddf05b296975f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Fri, Oct 23, 2020 at 2:12 PM Mirko= Vukovic <mirko.vukovic@gmail= .com> wrote:

=
On Thu, Oct 22, 2020 at 2:41 PM TEC &= lt;tecosaur@gmail.c= om> wrote:
mirko.vukovic@gmail.com> writes:

> Instead specifying the width, I'd like to use the parameter
> \scale.

Have you tried #+attr_latex: :scale SCALE ?


Your email triggered me to pay attenti= on to settings of latex export, and not orb-babel.
I found org-la= tex-default-image-scale customizable variable.

I n= eed to figure out how to set it in the file itself in=C2=A0the header.=C2= =A0

But at least for now, I set it in the Emacs= 9; session and I get the desired result.

I solved my problem by placing #+attr_latex: scale scale ju= st before the #results like so:
#+begin_src ...
...
#+end_src
#+attr_latex: :width 1.0\linewidth
#+RESULTS:=
...

Thanks,

Mirko
--000000000000708ddf05b296975f--