Thomas, That's a brilliant subversion of the \afterGrace command - I hadn't realised you could use it for anything but notes!
I think I need a good course on lateral thinking. I'd come up with this, which puts the treble clef at the beginning of the repeated section - as I said earlier I don't know what's best. We really need a music typography expert on this discussion to come up with the "best" solution. Incidentally, I tried to parenthesize the treble clef in bar 4, but it didn't work. Any idea why? \version "2.19.52" \language "english" \new Staff { \override Score.BarNumber.break-visibility = ##(#t #t #t) \time 4/4 \clef "treble" c''1 \clef "bass" c \clef "treble" c'' \set Staff.forceClef = ##t \once \override Score.BreakAlignment #'break-align-orders = #(make-vector 3 '(staff-bar clef )) \repeat volta 2 {\clef "treble" c'' } \alternative { { c'' \clef "bass" c } { \set Staff.forceClef = ##t \once \override Score.BreakAlignment #'break-align-orders = #(make-vector 3 '(staff-bar clef )) \clef "bass" c } } } Best regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com ------------------------- Tuesday, February 20, 2018, 9:56:08 PM, Thomas Morley wrote: How about: \new Staff { \override Score.BarNumber.break-visibility = ##(#t #t #t) \time 4/4 \clef "treble" c''1 \clef "bass" c \clef "treble" c'' \repeat volta 2 { c'' } \alternative { { c'' \clef "bass" \afterGrace c { \once \override Staff.Clef.X-extent = #'(-0.5 . -0.5) \clef "treble" } } { \once \override Score.BreakAlignment #'break-align-orders = #(make-vector 3 '(staff-bar clef )) \clef "bass" c } } } Cheers, Harm
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user