Jump to content

Formatting lyrics syllables: Difference between revisions

From LilyPond wiki
No edit summary
m New category
Tags: Mobile edit Mobile web edit
Line 19: Line 19:
[[Category:Vocal music]]
[[Category:Vocal music]]
[[Category:Text]]
[[Category:Text]]
[[Category:Included in the official documentation]][[Category:Snippet]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Revision as of 23:29, 21 November 2025

Markup mode may be used to format individual syllables in lyrics.

\version "2.24"

%LSR Tip taken from http://lists.gnu.org/archive/html/lilypond-user/2007-12/msg00215.html

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
>>