]> git.donarmstrong.com Git - lilypond.git/commit
Issue 4538: Provide \markupMap music function
authorDavid Kastrup <dak@gnu.org>
Tue, 4 Aug 2015 15:32:38 +0000 (17:32 +0200)
committerDavid Kastrup <dak@gnu.org>
Tue, 11 Aug 2015 06:24:13 +0000 (08:24 +0200)
commit5d7dcf77fed5d0df3b25e0da59bba300e09b87cd
tree5ff46db730b5cb732e1c60a35b4855ff893a4023
parent7f201bcf3ff9112757a10cc606d9794957ed18a4
Issue 4538: Provide \markupMap music function

This applies a markup function to all markup music properties matching a
given music property path.

For example,

\new Voice { g'2 c'' }
\addlyrics {
  \markupMap LyricEvent.text
             \markup \with-color #red \etc
             { Oh yes! }
}
input/regression/markup-map.ly [new file with mode: 0644]
ly/music-functions-init.ly