That works great, thanks! I need to manually override Y-offset, but that's fine.
I also made this function to add holes in the bracket (requires setting the bracket's layer to -1): whiteout = #(define-event-function (x y) (number-pair? number-pair?) #{ \tweak layer #0 \tweak Y-offset #0 \tweak outside-staff-priority ##f -\markup { \with-dimensions #'(0 . 0) #'(0 . 0) \with-color #white \filled-box #x #y #0 } #}) On 01/01/18 19:36, Trevor wrote: > > > "Caagr98" <caag...@gmail.com> wrote 01/01/2018 18:17:37 > >> \repeat volta 2 {R1} >> \alternative { >> {a4 a a a a'''' a a a} >> {R1} >> } >> >> In this example, the volta is moved very far up because of that one note. >> This is very ugly IMO. Is there any way to insert a hole in the line and >> have the note stick up over the volta? > Yes; this override prevents the spanner from taking part in the > outside staff ordering: > > \version "2.19.80" > { > \override Score.VoltaBracketSpanner.outside-staff-priority=##f > \repeat volta 2 {R1} > \alternative { > {a4 a a a a'''' a a a} > {R1} > } > } > > Trevor > _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user