On Wed, 2 Oct 2024 at 08:26, Werner LEMBERG <w...@gnu.org> wrote:
>

>
> The irregular distance is caused by LilyPond trying to vertically fit
> the items as tight as possible, which is what you normally want.
>
> > I'm a bit lost regarding the distance between them.
>
> > I tried this but with no success (and I didn't understand what
> > break-overshoot is supposed to do, so I just tried it).
>
> Looking into the IR you can find the following documentation:
>
>   ‘break-overshoot’ (pair of numbers):
>      ‘horizontal-bracket::calc-break-overshoot’
>

>
> What you need is to change the *padding* between the brackets, i.e.,
> the minimum vertical distance.  Not very surprisingly, the
> corresponding property is called `padding`, and it is also available for
> many other LilyPond grobs.
>
>
>     Werner
>
>
> ======================================================================
>
>
> music = {
>   c4 \tweak outside-staff-priority #802 \startGroup
>      \tweak outside-staff-priority #801 \startGroup
>      \tweak outside-staff-priority #800 \startGroup
>   c \stopGroup
>   c \stopGroup
>   c \stopGroup
> }
>
> \relative c' {
>   \time 4/4
>
>   \music
>   \override HorizontalBracket.padding = #1
>   \music
> }
>
> \layout {
>   \context {
>     \Voice
>     \consists Horizontal_bracket_engraver
>   }
> }


Hi Werner,
thank you so much for the clarifications, now it's all clear!

Cheers,
Lib

Reply via email to