Re: Add text to score without affecting spacing

2022-02-17 Thread Jean Abou Samra
Le 17/02/2022 à 22:58, Kieren MacMillan a écrit : Hi Jean, By the way: pedantically, I would recommend Thanks for that. Basically, \null leads to point-stencil, which has the extent '(0 . 0) on both axes -- a single-point interval. That's small, but not totally empty. empty-interval is '(+in

Re: Add text to score without affecting spacing

2022-02-17 Thread Kieren MacMillan
Hi Jean, > By the way: pedantically, I would recommend Thanks for that. > Basically, \null leads to point-stencil, which has > the extent '(0 . 0) on both axes -- a single-point > interval. That's small, but not totally empty. > empty-interval is '(+inf.0 . -inf.0) which is truly > empty, and th

Re: Add text to score without affecting spacing

2022-02-17 Thread Valentin Petzel
Hello Jean, thank you for that insight. I have been using \with-dimension #'(0 . 0) #'(0 . 0) on RehearsalMark grobs so far. The use case here is generation of playing animation. Basically I am using an engraver to print information about the current position into the score, which is then outpu

Re: Add text to score without affecting spacing

2022-02-17 Thread Jean Abou Samra
Le 10/02/2022 à 01:08, Kieren MacMillan a écrit : \markup \with-dimensions-from \null "foobar" By the way: pedantically, I would recommend \markup \with-dimensions #empty-interval #empty-interval "foobar" or \markup \with-dimensions-from \stencil #empty-stencil "foobar" or \markup \with-outli

Re: Add text to score without affecting spacing

2022-02-17 Thread Jean Abou Samra
Le 16/02/2022 à 15:26, Kieren MacMillan a écrit : Hi Aaron, There are a number of grobs that normally have no visual representation. You could attach your content there This is really clever! Can you imagine *any* possible downside to this approach? I think it depends on the use case. For

Re: Add text to score without affecting spacing

2022-02-16 Thread Kieren MacMillan
Hi Aaron, > There are a number of grobs that normally have no visual representation. You > could attach your content there This is really clever! Can you imagine *any* possible downside to this approach? Thanks, Kieren.

Re: Add text to score without affecting spacing

2022-02-09 Thread Aaron Hill
On 2022-02-09 4:12 pm, Valentin Petzel wrote: Hi Kieren, thank you. Yes, currently I am using some tweaked Rehearsal Marks mit 0- dimensions and some tweaks. Just asking if there was a better way. There are a number of grobs that normally have no visual representation. You could attach you

Re: Add text to score without affecting spacing

2022-02-09 Thread Valentin Petzel
Hi Kieren, thank you. Yes, currently I am using some tweaked Rehearsal Marks mit 0- dimensions and some tweaks. Just asking if there was a better way. Cheers, Valentin Am Donnerstag, 10. Februar 2022, 01:08:29 CET schrieb Kieren MacMillan: > Hi Valentin, > > > I am trying to get some debug tex

Re: Add text to score without affecting spacing

2022-02-09 Thread Kieren MacMillan
Hi Valentin, > I am trying to get some debug text into the output of a score. This text > should not at all affect spacing but just mark specific rhythmic position in > the > score. Is there any reasonable way of doing this? \markup \with-dimensions-from \null "foobar" Hope that helps! Kieren

Add text to score without affecting spacing

2022-02-09 Thread Valentin Petzel
Hello, I am trying to get some debug text into the output of a score. This text should not at all affect spacing but just mark specific rhythmic position in the score. Is there any reasonable way of doing this? I know there are some debugging outputs that do this, but do we have any proper in