mailing-list for TeXmacs Users

Text archives Help


Re: dice


Chronological Thread 
  • From: vincent douce <address@hidden>
  • To: texmacs-users <address@hidden>
  • Subject: Re: dice
  • Date: Wed, 2 Feb 2022 21:14:31 +0100

thank you Joris it is wonderful and works fine with Styx

Le 23 janv. 2022 à 21:44, TeXmacs <address@hidden> a écrit :

On Fri, Jan 21, 2022 at 09:46:40PM +0100, vincent douce wrote:
my question would be, as Giovanni guesses :
how is it possible to assign a personal shortcut (in my-init-texmacs) to any U+... Character ?

You may add something like the following for your dice characters:

(kbd-map
 (:mode in-math?)
 ("@ tab 1" "<#2680>")
 ("@ tab 2" "<#2681>")
 ("@ tab 3" "<#2682>")
 ("@ tab 4" "<#2683>")
 ("@ tab 5" "<#2684>")
 ("@ tab 6" "<#2685>"))

Once again, you should also select an appropriate font that contains these glyphs.

Best wishes, --Joris




- - - - - -
LeMathoscope : cours de maths par zoom  et poésie des mathématiques :






  • Re: dice, vincent douce, 02/02/2022

Archive powered by MHonArc 2.6.24.

Top of page