On Wed, Sep 25, 2024 at 3:23 PM 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.
>

Hi Werner,

Thanks so much for the improvements in MR 2196; they're excellent and
improve the look of the brackets in my sketches.

When I compile the following snippet under 2.25.19, I get output that's
different than what Kieren describes (for 2.25.11):

%%% BEGIN %%%

\version "2.25.19"

\new Voice
\with
{
  \consists Horizontal_bracket_engraver
}
{
  c'4
  - \tweak color "red"
  \startGroup
  - \tweak color "green"
  \startGroup
  - \tweak color "blue"
  \startGroup
  - \tweak color "purple"
  \startGroup
  c'4
  \stopGroup
  c'4
  \stopGroup
  c'4
  \stopGroup
  c'4
  \stopGroup
}

%%% END %%%

[image: nested-analysis-brackets.png]

Is this the desired output for 2.25.19? I ask only because the
(non-monotonic) vertical stacking of the brackets seems surprising.

Thanks again,

Trevor.

-- 
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca

Reply via email to