David Kastrup <d...@gnu.org> writes: > Marc Hohl <m...@hohlart.de> writes: > >> Thanks a lot! Just to check that I have understood the underlying >> mechanism, I rewrote that according to >> >> overrideColorForAll = >> #(define-music-function (color) (color?) >> #{ #@(map (lambda (dsc) >> (propertyOverride (list 'Score (car dsc) 'color) color)) >> all-grob-descriptions) >> #}) >> >> which seems to do the trick as well without switching between Scheme >> and LilyPond whithin overrideColorForAll. > > If you want to avoid switching to LilyPond, you can of course replace > #{ #@... #} with (make-simultaneous-music ...).
make-sequential-music of course. Doesn't usually make a difference, but look at { << \override NoteHead.color = #red \override Stem.color = #red >> c'2 2 } for a case where it _does_ make a difference. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user