Skip to Content.
Sympa Menu

texmacs-users - Re: \; in my-init-texmacs

Subject: mailing-list for TeXmacs Users

List archive

Re: \; in my-init-texmacs


Chronological Thread 
  • From: Giovanni Piredda <address@hidden>
  • To: address@hidden
  • Subject: Re: \; in my-init-texmacs
  • Date: Tue, 9 Nov 2021 22:27:15 +0000

It may be that <truc> inserts the symbol corresponding to "truc" when it exists (may be, may be not, I remember vaguely that this is the case).

\truc is inserted with the help of make-hybrid

Please try the following two shortcuts

(kbd-map (:mode in-math?) ("space space" (begin (make-hybrid) (insert ";")  )))

(kbd-map (:mode in-math?) ("space space" (begin (make-hybrid) (insert ";") (kbd-return) )))

In the first case you should get a "\;", ready for the pressing of the Return key (and pressing Return you get the space), in the second you should get the space, because the (kbd-return) in the shortcut presses the Return key.

Giovanni

Am 09.11.2021 um 09:56 schrieb vincent douce:
hi
i dont understand why
("A var" "<forall>")
works whereas
("space space" "<;>")
doesn't

i believed that <truc> would made exactly \truc since it works for \forall :
when i press A then tab it makes as if i had typed \forall

so, why doesn't it work for ; ? when i type \; in math mode i get a little
space, wheras space space gives nothing

and how to get \; as shortcut ?

thanks and good day

Vincent



Archive powered by MHonArc 2.6.19.

Top of Page