Subject: mailing-list for TeXmacs Users
List archive
From : Giovanni Piredda <address@hidden>- To: address@hidden
- Subject: Re: line thickness
- Date: Fri, 17 Nov 2023 17:02:50 +0000
I think that this forum post may be helpful:
http://forum.texmacs.cn/t/wiki-assorted-code-snippets-to-customize-texmacs-behaviour/465
paragraph "Add a style file to every new buffer".
You might make a file style that adds to the "generic" style your new and redefined macros.
Let me know if it sounds sensible.
I have got a feeling that somewhere there is a discussion on how to add TeXmacs macros through Scheme, but I might be wrong.
Giovanni
On 17/11/23 16:53, vincent douce wrote:
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 allis it possible in TeXmacs to have finer line that the lines by default ?
![]([cid:address@concealed](cid:address@concealed))
thanks
Vincent
- line thickness, vincent douce, 11/15/2023
- Re: line thickness, Giovanni Piredda, 11/15/2023
- Re: line thickness, Hammer Hu, 11/15/2023
- Re: line thickness, vincent douce, 11/16/2023
- Re: line thickness, Giovanni Piredda, 11/16/2023
- Re: line thickness, Hammer Hu, 11/16/2023
- Re: line thickness, vincent douce, 11/17/2023
- Re: line thickness, Giovanni Piredda, 11/17/2023
- Re: line thickness, vincent douce, 11/18/2023
- Re: line thickness, Giovanni Piredda, 11/18/2023
- Re: line thickness, vincent douce, 11/19/2023
- Re: line thickness, Giovanni Piredda, 11/17/2023
- Re: line thickness, vincent douce, 11/17/2023
- Re: line thickness, Hammer Hu, 11/18/2023
- Re: line thickness, vincent douce, 11/19/2023
- Re: line thickness, vincent douce, 11/16/2023
- Re: line thickness, Hammer Hu, 11/15/2023
- Re: line thickness, Giovanni Piredda, 11/15/2023
- <Possible follow-up(s)>
- Re: line thickness, Hammer Hu, 11/18/2023
- Re: line thickness, vincent douce, 11/18/2023
Archive powered by MHonArc 2.6.24.