David Kastrup wrote Monday, June 29, 2015 12:40 PM

> As 2.19.22 is now available for download, let me smugly suggest:
> 
> \version "2.19.22"
> tweakIII =
> #(define-music-function (music) (ly:music?)
>  (tweak 'color red
>    (tweak 'style 'harmonic music)))
> 
> However, like all of the previous proposals, this relies on "music"
> being a single tweakable item.  For noteheads, there is the more
> thorough style-note-heads function employed by \harmonicNote, so this
> part could be done by (harmonicNote music) instead (\harmonicNote uses a
> tweak for a single note and override/revert for everything else).

These simplifications to music functions are a major improvement!
Your smugness is fully justified!  Pride too.
Thanks!

Trevor
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to