Formatting lyrics syllables: Difference between revisions
Appearance
m New category Tags: Mobile edit Mobile web edit |
mNo edit summary |
||
| Line 1: | Line 1: | ||
The <code>\markup</code> command can be used in <code>\lyricmode</code> blocks to format individual syllables in lyrics. | |||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
mel = \relative c'' { c4 c c c c1 } | mel = \relative c'' { c4 c c c c1 } | ||
lyr = \lyricmode { | lyr = \lyricmode { | ||
Your lyrics \markup { \italic can } \markup { \with-color #red contain } | Your lyrics \markup { \italic can } | ||
\markup { \with-color #red contain } | |||
\markup { \fontsize #8 \bold Markup! } | \markup { \fontsize #8 \bold Markup! } | ||
} | } | ||
<< | << | ||
\new Voice = melody \mel | \new Voice = "melody" \mel | ||
\new Lyrics \lyricsto melody \lyr | \new Lyrics \lyricsto "melody" \lyr | ||
>> | >> | ||
</lilypond> | </lilypond> | ||
[[Category:Text]] | |||
[[Category:Vocal music]] | [[Category:Vocal music]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | [[Category:Snippet]] | ||
Latest revision as of 16:12, 12 December 2025
The \markup command can be used in \lyricmode blocks to format individual syllables in lyrics.
\version "2.24"
mel = \relative c'' { c4 c c c c1 }
lyr = \lyricmode {
Your lyrics \markup { \italic can }
\markup { \with-color #red contain }
\markup { \fontsize #8 \bold Markup! }
}
<<
\new Voice = "melody" \mel
\new Lyrics \lyricsto "melody" \lyr
>>