Skip to Content.
Sympa Menu

texmacs-users - Re: How can I write a number inside a circle?

Subject: mailing-list for TeXmacs Users

List archive

Re: How can I write a number inside a circle?


Chronological Thread 
  • From: vincent douce <address@hidden>
  • To: texmacs-users <address@hidden>
  • Subject: Re: How can I write a number inside a circle?
  • Date: Mon, 23 Oct 2023 16:12:18 +0200

i have tried this in my-init-texmacs :

the @1 … @6 work very fine
but curiously the @1 var do not work

any idea why ?

Vincent

;-----------------------------------
;------ dice and cards ------ only in styx mode !!!!!!!
;-----------------------------------

(kbd-map (:mode in-math?)
("@ 1" "<#2680>");ne marche pas en "roman"
("@ 2" "<#2681>");idem pour les autres
("@ 3" "<#2682>");marche avec "styx"
("@ 4" "<#2683>");pour les autres poss
("@ 5" "<#2684>")
("@ 6" "<#2685>")
("@ k" (insert '(with "color" "red" "<#2665>")));coeur
("@ c" (insert '(with "color" "red" "<#2666>")));carreau
("@ p" "<#2660>");pique
("@ t" "<#2663>");trefle
)

;-----------------------------------
;------ numbers in circles ---------
;-----------------------------------

(kbd-map (:mode in-math?)
("@ 1 var" "<#2460>")
("@ 2 var" "<#2461>")
("@ 3 var" "<#2462>")
("@ 4 var" "<#2463>")
("@ 5 var" "<#2464>")
("@ 6 var" "<#2465>")
("@ 7 var" "<#2466>")
("@ 8 var" "<#2467>")
("@ 9 var" "<#2468>")
)

> Le 23 oct. 2023 à 15:45, Eduardo M M Mendes <address@hidden> a écrit :
>
> Hi again
>
> As I mentioned, using "^q #2460 enter" works for me. However, when I tried
> with Unicode 246A, the result was a smaller circle with an "11" inside.
> Shouldn't they be the same size?
>
> Best
>
> Ed
>
>
>
>
>> On 23 Oct 2023, at 07:10, Eduardo M M Mendes <address@hidden> wrote:
>>
>> Hi there
>>
>> It did not work, but when I try ^q and #2460 it does.
>>
>> Thank you!
>>
>> Best
>>
>> Ed
>>
>>
>>
>>> On 23 Oct 2023, at 05:26, Luigi Amedeo Bianchi <address@hidden> wrote:
>>>
>>> Hi,
>>> for me ESC + x opens a popup window in which one can insert Scheme
>>> expressions like the one suggested.
>>>
>>> Also, a shorter way is ESC + q followed by #2460 and enter (IIRC the
>>> initial shortcut should be ^q, but under Linux that closes the document).
>>>
>>> Best,
>>> lab
>>>
>>> On 23/10/2023 04:46, Hammer Hu wrote:
>>>> Click top menus:
>>>> 1. Tools->Debugging tool
>>>> 2. Debug->Execute->Evaluate Scheme Expressions
>>>> Something should appear after that. Type
>>>> (insert "<#2460>")
>>>> and press Enter to insert character ①. FYI U+2460 to U+2468 covers
>>>> circled one to circled nine.
>>> [...]
>>>> I tried Control-x, Option-x, Cmd-x and nothing.
>>>
>>>
>>>> Best
>>>> Ed
>>>>> On 22 Oct 2023, at 18:35, Hammer Hu <address@hidden> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> Hold Alt (or CMD, I don't remember which one) key and press `x', type
>>>>>
>>>>> (insert "<#2460>")
>>>>>
>>>>> and press Enter key. 2460 stands for the unicode codepoint of ①.
>>>>>
>>>>> Best,
>>>>> Hammer
>>>>>
>>>>> ---------------------------------------------
>>>>> From: Eduardo M M Mendes <address@hidden>
>>>>> Sent: 22.10.2023 18:03
>>>>> To: Giovanni Piredda <address@hidden>
>>>>> Subject: Re: How can I write a number inside a circle?
>>>>>
>>>>> Hi Giovanni
>>>>>
>>>>> Many thanks.
>>>>>
>>>>> I apologize for my oversight, but I had difficulty following the
>>>>> instructions provided there.
>>>>>
>>>>> Could you provide me with the sequence of commands to display a "1"
>>>>> inside a circle while in math mode?
>>>>>
>>>>>> On 22 Oct 2023, at 16:34, Giovanni Piredda <address@hidden> wrote:
>>>>>>
>>>>>>
>>>>>> On 22/10/23 20:25, Eduardo M M Mendes wrote:
>>>>>>> Hello
>>>>>>>
>>>>>>> How can I write a number inside a circle? I attempted using "@"
>>>>>>> followed by the number, but it wasn't successful. I'm utilizing
>>>>>>> TeXmacs on a Mac.
>>>>>>>
>>>>>>> Many thanks.
>>>>>>>
>>>>>>> Ed
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> Hi Ed,
>>>>>>
>>>>>> I think that the shortcut with "@" works for some symbols only. For
>>>>>> numbers inside a circle you might achieve it with the superpose tag
>>>>>> (some hints at
>>>>>> http://forum.texmacs.cn/t/prevent-certain-characters-from-stretching-apart/1074/12)
>>>>>>
>>>>>
>>>
>>
>




Archive powered by MHonArc 2.6.24.

Top of Page