Bric wrote > I want the ability to distribute the effect of "\boo" to a SET of notes. > > Such as \boo { dis' e' fis' g' } > > where all the four notes are affected by boo. > > I tried using > > boo = { \override NoteHead.color = #red } > > and then \boo dis' e' fis' g \revert > > but that, of course, is incorrect syntax.
I think to get this to work you have to say what it is you want to revert? You could do it like this: \version "2.17.29" boo = { \override NoteHead.color = #red } revertboo = { \revert NoteHead.color } { a' \boo dis' e' fis' g \revertboo b } But I think what you really want is a music function: \version "2.17.29" boo = #(define-music-function (parser location the-music) (ly:music?) #{ \override NoteHead.color = #red #the-music \revert NoteHead.color #}) \relative c' { c4 d e f \boo { g a b } c d e } For more about music functions, see the docs: http://lilypond.org/doc/v2.17/Documentation/extending/music-functions HTH, -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/modular-markup-and-arguments-tp153423p153425.html Sent from the User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user