The dynamics context seems to work well enough for text markup objects. I’d 
also like to throw a lot of analysis brackets into a Dynamics context above the 
staff with similar output. Here’s what I would imagine working

\version "2.24.3"

\layout {
  \context {
    \Voice % Or \Dynamics ? There's no mention of a dynamics context on the 
relevant doc page.
    \consists Horizontal_bracket_engraver
    \override HorizontalBracket.direction = #UP

  }
}

music = \context Staff \relative c'' {
  \repeat unfold 8 {c4}
}

brackets = \context Dynamics {
  \override VerticalAxisGroup.staff-affinity = #DOWN
  s4 s\startGroup s s\stopGroup | s\startGroup s s\stopGroup s
}

\score { << \music \brackets >> }

[image.png]

This snippet fails to engrave the analysis brackets, as shown. Is it possible 
to do so?

-Fennel

​

Reply via email to