Subject: mailing-list for TeXmacs Users
List archive
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
- \; in my-init-texmacs, vincent douce, 11/09/2021
- Re: \; in my-init-texmacs, Giovanni Piredda, 11/09/2021
- Re: \; in my-init-texmacs, vincent douce, 11/20/2021
- Re: \; in my-init-texmacs, Giovanni Piredda, 11/09/2021
Archive powered by MHonArc 2.6.19.