On 3 August 2011 02:09, harm6 <[email protected]> wrote: > > Hi, > > try: > > \version "2.14.1" > > #(define (color-at-line-begin g) > (if (and (ly:item? g) > (equal? (ly:item-break-dir g) RIGHT)) > (ly:grob-set-property! g 'color red))) > > \relative g' { > \repeat volta 2 { a b c d } > \break > \once\override Staff.BarLine #'after-line-breaking = > #color-at-line-begin > \repeat volta 2 { d c b a } > } >
Nice one! Could you add it to the LSR? Cheers, Xavier -- Xavier Scheuer <[email protected]> _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
