mailing-list for TeXmacs Users

Text archives Help


Re: customizing size by default of images


Chronological Thread 
  • From: Giovanni Piredda <address@hidden>
  • To: address@hidden
  • Subject: Re: customizing size by default of images
  • Date: Tue, 23 Aug 2022 08:32:30 +0000

The best that I can do is to provide a shortcut for quickly changing the size immediately after you have inserted an image. Admitting that you did not have that already in mind, please see https://lists.texmacs.org/wws/arc/texmacs-users/2021-09/msg00029.html. Id est, I did not make any progress (any progress I am aware of :-) ) since I wrote that, and in fact I had forgotten that I had written it! I did not test it again.

If you want to limit the shortcut to some mode (for example, in text only) you can do that by adding a "mode" form to the definition of the shortcut. For example

(kbd-map

|(:mode in-text?)|

("C-w"
          (let ((t (find-image (cursor-tree))))
            (set-image-size t))))

Please let me know if it works.

G.

On 23.08.22 10:09, vincent douce wrote:
hello
i notice that size by default for incuded or linked images is always 1par
how can i customize this to, say, 5cm ?
Vinz



Archive powered by MHonArc 2.6.24.

Top of page