emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mirko Vukovic <mirko.vukovic@gmail.com>
To: TEC <tecosaur@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Babel->Latex export: how to set includegraphics scale?
Date: Mon, 26 Oct 2020 13:51:42 -0400	[thread overview]
Message-ID: <CAO73BADCbChMNN6bpUJHWj-EHjWnMMwZYG1gzdvxovu9Zpm54w@mail.gmail.com> (raw)
In-Reply-To: <CAO73BABo2grMGz60_0PKKMk-jY2znWQLwM=mp0u3F6+=36BxqA@mail.gmail.com>

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

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 <tecosaur@gmail.com> wrote:
>
>>
>> Hi Mirko
>>
>> Mirko Vukovic <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 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

>

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

      reply	other threads:[~2020-10-26 18:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-22 18:37 Babel->Latex export: how to set includegraphics scale? Mirko Vukovic
2020-10-22 18:39 ` TEC
2020-10-23 18:12   ` Mirko Vukovic
2020-10-26 17:51     ` Mirko Vukovic [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAO73BADCbChMNN6bpUJHWj-EHjWnMMwZYG1gzdvxovu9Zpm54w@mail.gmail.com \
    --to=mirko.vukovic@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tecosaur@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).