Re: Box around system

2022-05-18 Thread David Kastrup
Jean Abou Samra writes: > Le 19/05/2022 à 00:56, David Kastrup a écrit : >> Jean Abou Samra writes: >> >>> Le 18/05/2022 à 23:58, Jean Abou Samra a écrit :  (say) \overrideMidBrokenSpanner Context.Grob.property = ... >>> >>> Actually, the ideal interface for this is probably a modifie

Re: Box around system

2022-05-18 Thread Jean Abou Samra
Le 19/05/2022 à 00:56, David Kastrup a écrit : Jean Abou Samra writes: Le 18/05/2022 à 23:58, Jean Abou Samra a écrit :  (say) \overrideMidBrokenSpanner Context.Grob.property = ... Actually, the ideal interface for this is probably a modifier like \once, \temporary and \single.   \bro

Re: Box around system

2022-05-18 Thread David Kastrup
Jean Abou Samra writes: > Le 18/05/2022 à 23:58, Jean Abou Samra a écrit : >>  (say) >> \overrideMidBrokenSpanner Context.Grob.property = ... > > > Actually, the ideal interface for this is probably a modifier > like \once, \temporary and \single. > >   \broken \override Context.Grob.property = .

Re: Box around system

2022-05-18 Thread Jean Abou Samra
Le 18/05/2022 à 23:58, Jean Abou Samra a écrit :  (say) \overrideMidBrokenSpanner Context.Grob.property = ... Actually, the ideal interface for this is probably a modifier like \once, \temporary and \single.   \broken \override Context.Grob.property = ...

Re: Box around system

2022-05-18 Thread Jean Abou Samra
Le 18/05/2022 à 22:37, David Kastrup a écrit : Valentin Petzel writes: Jean is correct in telling you why your approach does not work. The system is not something that is created in a certain timestep, but rather as a single grob at the begin of translation and then broken down afterward, basi

Re: Box around system

2022-05-18 Thread David Kastrup
Valentin Petzel writes: > Jean is correct in telling you why your approach does not work. The > system is not something that is created in a certain timestep, but > rather as a single grob at the begin of translation and then broken > down afterward, basically copying the properties of the origin

Re: Box around system

2022-05-18 Thread Jean Abou Samra
Le 18/05/2022 à 17:56, Valentin Petzel a écrit : Jean is correct in telling you why your approach does not work. The system is not something that is created in a certain timestep, but rather as a single grob at the begin of translation and then broken down afterward, basically copying the propert

Re: Box around system

2022-05-18 Thread Valentin Petzel
Jean is correct in telling you why your approach does not work. The system is not something that is created in a certain timestep, but rather as a single grob at the begin of translation and then broken down afterward, basically copying the properties of the original System grob. However while

Re: Box around system

2022-05-18 Thread Jean Abou Samra
Le 18/05/2022 à 16:02, Jean Abou Samra a écrit : You could use \alterBroken if it supported callbacks, but it doesn't (well, they may or may not work or work partially depending on internal details) OK, https://gitlab.com/lilypond/lilypond/-/merge_requests/1369

Re: Box around system

2022-05-18 Thread Jean Abou Samra
Le 18/05/2022 à 15:44, Rip _Mus a écrit : Good morning, I really appreciate your solutions and I'm trying to impress box only on some systems of the score. So I'm trying to do something like \once \override Score.System.stencil = ... But there is no response. I've tried also with \overridePrope

Re: Box around system

2022-05-18 Thread Rip _Mus
Good morning, I really appreciate your solutions and I'm trying to impress box only on some systems of the score. So I'm trying to do something like \once \override Score.System.stencil = ... But there is no response. I've tried also with \overrideProperty, but nothing happens. Do you have any advi

Re: Box around system

2022-05-15 Thread Rip _Mus
Hello Valentin, thanks a lot! This approach is also very useful and sophisticated! I will have to decide, sooner or later, to deepen the Scheme side. Best regards Il giorno dom 15 mag 2022 alle ore 21:08 Valentin Petzel ha scritto: > Hello Jean, hello Rip. > > instead of imposing this empty ste

Re: Box around system

2022-05-15 Thread Valentin Petzel
Hello Jean, hello Rip. instead of imposing this empty stencil I’d extent the original command such that it allows for such things. The appended file does implement a way to call (box-grob-stencil-with-thickness thickness padding) and a way to use the original function but to be able to specify

Re: Box around system

2022-05-15 Thread Rip _Mus
Thank you Jean! It works very well! Best regards Il dom 15 mag 2022, 11:09 Jean Abou Samra ha scritto: > > > Le 15/05/2022 à 10:40, Rip _Mus a écrit : > > Good morning, > > I found this interesting snippet: > > https://lsr.di.unimi.it/LSR/Snippet?id=257 > > > > that draws a box around systems.

Re: Box around system

2022-05-15 Thread Jean Abou Samra
Le 15/05/2022 à 10:40, Rip _Mus a écrit : Good morning, I found this interesting snippet: https://lsr.di.unimi.it/LSR/Snippet?id=257 that draws a box around systems. According to you, is it possible to specify box line thickness ? Thank you! Rip_mus It looks like box-grob-stencil does n

Box around system

2022-05-15 Thread Rip _Mus
Good morning, I found this interesting snippet: https://lsr.di.unimi.it/LSR/Snippet?id=257 that draws a box around systems. According to you, is it possible to specify box line thickness ? Thank you! Rip_mus