> So what you’d

> need to do is to replace the skips by notes:
>
> brackets = \new Dynamics {
> \override VerticalAxisGroup.staff-affinity = #DOWN
> c4 c\startGroup c c\stopGroup | c\startGroup c c\stopGroup c
> }
>
> Then this will still not work, as the Dynamics context does not create any
> NoteColumns by default. So you’ll need to add Rhythmic_column_engraver. But to
> actually have something to encompass you’d need to have a stencils, so you’d
> need to also add the Note_heads_engraver.
>
> Then you’d need to get rid of the note heads, but you still need a stencil, so
> do something like
>
> \layout {
> \context {
> \Dynamics
> \consists Horizontal_bracket_engraver
> \override HorizontalBracket.direction = #UP
> \consists Note_heads_engraver
> \consists Rhythmic_column_engraver
>
> \override NoteHead.stencil = #(ly:make-stencil '() '(0 . 0) '(0 . 0))
> }
>
> }

This snippet gives the following output:

[image.png]It seems that the staff-affinity option is being ignored?
-Fennel

>

​

Reply via email to