]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/formatting-lyrics-syllables.ly
Merge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / Documentation / snippets / formatting-lyrics-syllables.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.4"
5
6 \header {
7   lsrtags = "text, vocal-music"
8
9   texidoc = "
10 To format individual syllables in lyrics, use @code{\\markup @{ ....
11 @}} on these lyrics.
12
13 "
14   doctitle = "Formatting lyrics syllables"
15 } % begin verbatim
16
17 % Tip taken from http://lists.gnu.org/archive/html/lilypond-user/2007-12/msg00215.html
18 \header {
19   title = "Markup can be used inside lyrics!"
20 }
21
22 mel = \relative c'' { c4 c c c }
23 lyr = \lyricmode {
24   Lyrics \markup { \italic "can" } \markup {\with-color #red "contain" }
25   \markup {\fontsize #8 \bold "Markup!" }
26 }
27
28 <<
29   \context Voice = melody \mel
30   \context Lyrics \lyricsto melody \lyr
31 >>
32
33