I'm trying to figure out how the layout and positioning system
works. Lilypond is able to move some of these outside-staff objects
vertically to avoid them overlapping, though I'd rather some items get
pushed horizontally rather than stack and take up more vertical space. I
know I can use outside-staff-priority to control relative vertical
positioning of these objects, but this doesn't seem to help with
vertical positioning. For example, I'd like measure 4 to be
wide enough to accomodate the "Allegro non troppo" tempo marking
without it being pushed above the volta bracket, the volta bracket
should also be shortened to make room for rehearsal letter B, and the
"Trio" section label should be pushed to the right of rehearsal letter
C instead of below it. Is it possible to do this in Lilypond?

%%%
\version "2.24.4"

\fixed c'' {
  \repeat volta 2 {
    c1 |
    \mark \default \tempo "Largo" d | e |
    \tempo "Allegro non troppo" f |
    \alternative {
      \volta 1 { b, }
      \volta 2 { c }
    }
  }
  \bar "||"
  \mark \default d | e |
  \mark \default \sectionLabel "Trio" e |
}
%%%

Reply via email to