Skip to Content.
Sympa Menu

texmacs-users - Re: line thickness

Subject: mailing-list for TeXmacs Users

List archive

Re: line thickness


Chronological Thread 
  • From: vincent douce <address@hidden>
  • To: texmacs-users <address@hidden>
  • Subject: Re: line thickness
  • Date: Sun, 19 Nov 2023 08:33:40 +0100

thanks very much Hammer
i have put 0.15pt and it works very fine
Vincent

> Le 18 nov. 2023 à 23:38, Hammer Hu <address@hidden> a écrit :
>
> Vincent,
>
> Of course you could do that. Use
>
> (kbd-map
> (:mode in-text?)
> ("h l i n e" (insert '(with "font-size" ".4pt" (hrule)))))
>
> if you want.
>
> Best,
> Hammer
>
> ---------------------------------------------
> From: vincent douce <address@hidden>
> Sent: 17.11.2023 16:53
> To: texmacs-users <address@hidden>
> Subject: Re: line thickness
>
> Giovanni & Hammer
>
> i can’t manage to concretize your solutions
> i dont understand good how to type your codes
> i am sorry…
>
> what i have found is simply :
> really-tiny | hrule
> but i can’t find out how to write it precisely in my-init-texmacs
> i have tried to « copy to Texmacs Scheme » such a very tiny hline
> and « paste from TeXmacs Scheme » into my-init-temxacs
> but the result does not fit i get something like <really-tiny|<hrule>> that
> is not the way things are written in my-init-texmacs
>
> i think we’re not far from the solution
>
> Vincent
>
>> Le 16 nov. 2023 à 19:57, Hammer Hu <address@hidden> a écrit :
>>
>> An easier non-solution:
>>
>> <with|font-size|.4pt|<hrule>>
>>
>> Start with backslash, this can be typed within seconds.
>>
>> Best,
>> Hammer
>>
>> ---------------------------------------------
>> From: vincent douce <address@hidden>
>> Sent: 16.11.2023 10:42
>> To: texmacs-users <address@hidden>
>> Subject: Re: line thickness
>>
>> thanks very much both of you Hammer and Giovanni
>>
>>
>>
>> really efficient !
>>
>>
>>
>> i have attached a screenshot :
>>
>> on the left the thickness by default
>>
>> on the middle thicnkess 0.5ln, exactly what i wanted
>>
>>
>>
>> ![](cid:1701C8A7-EE94-4BFD-B597-A6E0E12693EF@lan)
>>
>> thought, some questions please :
>>
>> a) on the right side (third screenshot) i have put 0.2ln (and of course
>> recorded my-init-texmacs and left the app and relaunched)
>>
>> but curiously the thickness between 0.5ln (middle picture) and 0.2ln (right
>> picture) seem not to be different : why ?
>>
>> b) is it possible to parameter the same for horizontal lines (Hrule) ?
>>
>> c) the link Giovanni gives leads to 12.4 of
>> <https://www.texmacs.org/tmweb/documents/manuals/texmacs-manual.en.pdf>
>> but i
>> can’t find the document where you found the lines you cote : where did you
>> find them ?
>>
>>
>>
>> Vincent
>>
>>
>>
>>> Le 15 nov. 2023 à 20:34, Hammer Hu
>>> <[address@hidden](mailto:address@hidden)> a écrit :
>>>
>>>
>>>
>>>
>>> Several lines behind
>>>
>>> (define cell-current-pen-width "1ln")
>>>
>>> there's a function `cell-set-pen-width'. It should work if you put in init
>>> file:
>>>
>>> (use-modules (table table-edit))
>>> (cell-set-pen-width "0.5ln")
>>>
>>> Best,
>>> Hammer
>>> \---------------------------------------------
>>> From: Giovanni Piredda <[address@hidden](mailto:address@hidden)>
>>> Sent: 15.11.2023 19:18
>>> To: [address@hidden](mailto:address@hidden)
>>> Subject: Re: line thickness
>>>
>>> I have investigated a bit (following the ideas in
>>> <<https://texmacs.github.io/notes/docs/menu-shortcuts.html>>) and found
>>> out
>>> in
>>> progs/table/table-edit.scm the definition
>>>
>>> (define cell-current-pen-width "1ln")
>>>
>>> This is local to the module. I tried it together with the with-module
>>> form
>>> shown in <<http://forum.texmacs.cn/t/advanced-user-tip-interacting-with-
>>> scheme->
>>> modules/1497>, as
>>>
>>>
>>>
>>> (with-module (resolve-module '(table table-edit)) (define
>>> cell-current-pen-
>>> width "0.5ln"))
>>>
>>>
>>>
>>> It works in a Scheme session, but it does not yet work for me in the init
>>>
>>> file. For today I have to stop: perhaps someone has an idea?
>>>
>>> Giovanni
>>>
>>>
>>>
>>> On 15/11/23 16:43, vincent douce wrote:
>>>
>>>
>>>
>>
>>>> hello all
>>>
>>> is it possible in TeXmacs to have finer line that the lines by default ?
>>>
>>>
>>> ![]([cid:address@concealed](cid:address@concealed))
>>>
>>>
>>> thanks
>>>
>>>
>>>
>>>
>>> Vincent
>>
>>
>>
>>
>>
>




Archive powered by MHonArc 2.6.24.

Top of Page