]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/markup-map.ly
Doc-es: various updates.
[lilypond.git] / input / regression / markup-map.ly
1 \version "2.19.26"
2
3 \header {
4   texidoc = "@code{\\markupMap} can be used for applying a markup function
5 to music properties throughout a music expressions, like the @code{text} of
6 all contained lyric events."
7 }
8
9 \layout { ragged-right = ##t }
10
11 \new Voice
12 \markupMap TextScriptEvent.text
13            #italic-markup
14 { g'2^"See" c''^"this?" }
15 \addlyrics {
16   \markupMap text
17              \markup \fontsize #5 \with-color #red \rotate #30 \etc
18   { Oh yes! }
19 }