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