If I take the following code:

\relative c' {
     c4
     \once\override Stem #'color = #red
     \override Stem #'color = #blue
     c4 c
     \revert Stem #'color
     c4
}

the result is that the second stem is blue, and the third is already
black again.  That surprised me.  If I take

\relative c' {
     c4
     \override Stem #'color = #blue
     \once\override Stem #'color = #red
     c4 c
     \revert Stem #'color
     c4
}

then the second stem is red and the third is blue which looks like less
of a surprise.  If we take the following:

\relative c' {
     c4
     \override Stem #'color = #blue
     \once\override Stem #'color = #red
     \revert Stem #'color
     c4 c
     c4
}

then just the second stem is blue.


-- 
David Kastrup


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to