Jump to content

Formatting lyrics syllables: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
Markup mode may be used to format individual syllables in lyrics.
Markup mode may be used to format individual syllables in lyrics.


<lilypond version="2.24.0">
<lilypond version="2.24">
%LSR Tip taken from http://lists.gnu.org/archive/html/lilypond-user/2007-12/msg00215.html
%LSR Tip taken from http://lists.gnu.org/archive/html/lilypond-user/2007-12/msg00215.html



Revision as of 18:47, 16 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
>>