unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Adjust the image size displayed in Emacs comint buffer.
Date: Sat, 9 Oct 2021 12:48:41 +0800	[thread overview]
Message-ID: <CAGP6POKWMwBrVdG8ci_0rE7RWGGxHbXiRyBkM=MEtgP+aiowWQ@mail.gmail.com> (raw)
In-Reply-To: <CAGP6PO+rThiOzQWU5WVjYmMT5sT7+-hZthqwyvaAV5=+m8kdpQ@mail.gmail.com>

On Sat, Oct 9, 2021 at 10:23 AM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> Currently, with the help of comint-mime package [1], I can display the
> matplotlib plot and LaTeX formula in Emacs comint buffer, as shown in
> the attached image.
>
> But I want to know how to adjust the image size displayed in Emacs
> comint buffer. Any hints will be appreciated.
>
> [1] https://github.com/astoff/comint-mime

Sorry for bothering here. Based on the comments here [1], I find the
following commands in Emacs to do the trick:

image-increase-size
image-decrease-size
image-mouse-increase-size
image-mouse-decrease-size

[1] https://emacs.stackexchange.com/questions/2433/shrink-zoom-scale-images-in-image-mode

HZ



      reply	other threads:[~2021-10-09  4:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-09  2:23 Adjust the image size displayed in Emacs comint buffer Hongyi Zhao
2021-10-09  4:48 ` Hongyi Zhao [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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CAGP6POKWMwBrVdG8ci_0rE7RWGGxHbXiRyBkM=MEtgP+aiowWQ@mail.gmail.com' \
    --to=hongyi.zhao@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).