On Wed, 25 Sept 2024 at 22:22, Werner LEMBERG <w...@gnu.org> wrote: > > > >> In this example, everything looks fine when there are max. 3 nested > >> analysis brackets (first score). However, when the brackets are 4 > >> the distance between them is irregular. > >> > >> Moreover, how to reverse the order of the brackets so that the > >> shortest ones are closer to the staff? > > > > Compiling your code with my copy of Lilypond (2.25.11) gives four > > evenly-spaced brackets with the shortest ones closer to the > > staff. Maybe it’s a bug introduced since 2.25.11? > > Not a bug but an intentional change, see > > https://gitlab.com/lilypond/lilypond/-/merge_requests/2196 , > > which was merged in version 2.25.12. The documentation changes of > this MR also describe how to order the brackets as needed. > > > Werner
Hi, thanks for your help. The possibility of changing the order of nested brackets is great! 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). Thanks for any help, Lib \score { \relative c' { \time 4/4 \override HorizontalBracket.break-overshoot = #'(2.0 . 2.0) 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 } \layout { \context { \Voice \consists Horizontal_bracket_engraver } } }