Re: balloonText and DoublePercentEngraver

2022-01-01 Thread Jean Abou Samra
Le 31/12/2021 à 12:19, Werner LEMBERG a écrit : Well, right now you are plowing the NR so I think it's best if you do that. https://gitlab.com/lilypond/lilypond/-/merge_requests/1101

Re: balloonText and DoublePercentEngraver

2021-12-31 Thread Werner LEMBERG
> Horizontal spacing is computed with a system that tries to achieve > the best possible layout [...] A very good explanation, thanks. > Hope that helps to understand and document! Well, right now you are plowing the NR so I think it's best if you do that. Otherwise I can work on it after

Re: balloonText and DoublePercentEngraver

2021-12-31 Thread Werner LEMBERG
> One last thing: an aid to understanding is to view these horizontal > skylines. You can show them using > > #(ly:set-option 'debug-skylines) > \layout { > \context { > \Score > \override PaperColumn.stencil > = #ly:separation-item::print > \override

Re: balloonText and DoublePercentEngraver

2021-12-30 Thread Jean Abou Samra
Le 30/12/2021 à 14:26, Werner LEMBERG a écrit : Well, it's not very logical, but not entirely illogical either. [...] I agree, but having a hint in the NR would be helpful. Feel free to add it. Will do soon. This might eventually be a good solution. For example, the only way I found to

Re: balloonText and DoublePercentEngraver

2021-12-30 Thread Jean Abou Samra
Le 30/12/2021 à 14:26, Werner LEMBERG a écrit : Not sure if we're on the same wavelength here. You can already make the bars wider or, to a certain extent, shorter, by adjusting DoublePercentRepeat.extra-spacing-width. That won't work for reducing spacing to less than a certain amount, but

Re: balloonText and DoublePercentEngraver

2021-12-30 Thread Werner LEMBERG
>>> Well, it's not very logical, but not entirely illogical either. >>> [...] >> >> I agree, but having a hint in the NR would be helpful. > > Feel free to add it. Will do soon. >>> This might eventually be a good solution. For example, the only >>> way I found to adjust the width of a double

Re: balloonText and DoublePercentEngraver

2021-12-25 Thread Jean Abou Samra
Le 24/12/2021 à 16:20, Werner LEMBERG a écrit : [...] Well, it's not very logical, but not entirely illogical either. [...] I agree, but having a hint in the NR would be helpful. Feel free to add it. This might eventually be a good solution. For example, the only way I found to adjust

Re: balloonText and DoublePercentEngraver

2021-12-24 Thread Werner LEMBERG
>> Thanks. I normally use extra `"` to mark stuff that is not a >> keyword. It seems I should revisit that practice... > > If we get syntax highlighting in the docs, that might be relevant. > Quoted strings are just strings, but unquoted names can be > recognized as builtins. Good point. >

Re: balloonText and DoublePercentEngraver

2021-12-23 Thread Jean Abou Samra
[Lukas] This can be conventiently handled with \after - and also note that some of your # and ' and " characters are not necessary anymore: Ah, yes, \after. I promise I'll be used to it by tomorrow! :-) Le 22/12/2021 à 06:15, Werner LEMBERG a écrit : \new Score \with {   \consists

Re: balloonText and DoublePercentEngraver

2021-12-23 Thread Lukas-Fabian Moser
Hi Dan & Werner, Am 22.12.21 um 15:41 schrieb Dan Eble: ``` { \override DoublePercentRepeat.slope = #.3 \repeat percent 2 { e'2 e' e' e' } \revert DoublePercentRepeat.slope } ``` I'd recommend using \temporary\override in to mimic \once behaviour more closely: \version "2.23.5"

Re: balloonText and DoublePercentEngraver

2021-12-23 Thread Werner LEMBERG
>> ``` >> \once\override DoublePercentRepeat.slope = #.3 >> \repeat percent 2 { e'2 e' e' e' } >> ``` >> >> Would it be possible to make `\repeat` accept such overrides, >> passing them down to the various repeat grobs? > > ``` > { > \override DoublePercentRepeat.slope = #.3 > \repeat

Re: balloonText and DoublePercentEngraver

2021-12-22 Thread Dan Eble
On Dec 22, 2021, at 01:37, Werner LEMBERG wrote: > > ``` > \once\override DoublePercentRepeat.slope = #.3 > \repeat percent 2 { e'2 e' e' e' } > ``` > > Would it be possible to make `\repeat` accept such overrides, passing > them down to the various repeat grobs? ``` { \override

Re: balloonText and DoublePercentEngraver

2021-12-21 Thread Werner LEMBERG
Hello Lukas and Jean, thanks a lot for your help. > It seems that the correct time offset for the DoublePercentRepeat is > at the beginning of the _second_ of the two bars. Undocumented... While adding a balloon is probably exotic, being able to modify other properties of a

Re: balloonText and DoublePercentEngraver

2021-12-21 Thread Werner LEMBERG
>> \new Score \with { >>   \consists "Balloon_engraver" >> } > > Ah, sorry, I forgot one: > > \new Score \with { >   \consists Balloon_engraver > } Thanks. I normally use extra `"` to mark stuff that is not a keyword. It seems I should revisit that practice... Werner

Re: balloonText and DoublePercentEngraver

2021-12-21 Thread Lukas-Fabian Moser
\new Score \with {   \consists "Balloon_engraver" } Ah, sorry, I forgot one: \new Score \with {   \consists Balloon_engraver } Lukas

Re: balloonText and DoublePercentEngraver

2021-12-21 Thread Lukas-Fabian Moser
Hi Werner, Am 21.12.21 um 23:07 schrieb Werner LEMBERG: Please have a look at the following example. ``` \new Score \with { \consists "Balloon_engraver" } \new Staff { \repeat "percent" 2 { e'4 e' e' e' | \balloonGrobText #'PercentRepeat #'(0 . 1) \markup "Repeat" }

Re: balloonText and DoublePercentEngraver

2021-12-21 Thread Jean Abou Samra
Le 21/12/2021 à 23:07, Werner LEMBERG a écrit : Please have a look at the following example. ``` \new Score \with { \consists "Balloon_engraver" } \new Staff { \repeat "percent" 2 { e'4 e' e' e' | \balloonGrobText #'PercentRepeat #'(0 . 1) \markup "Repeat" } \repeat

balloonText and DoublePercentEngraver

2021-12-21 Thread Werner LEMBERG
Please have a look at the following example. ``` \new Score \with { \consists "Balloon_engraver" } \new Staff { \repeat "percent" 2 { e'4 e' e' e' | \balloonGrobText #'PercentRepeat #'(0 . 1) \markup "Repeat" } \repeat "percent" 2 { e'2 e' | e' e' | \balloonGrobText