]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/vertically-centered-common-lyrics.ly
Merge master into nested-bookparts
[lilypond.git] / input / lsr / vertically-centered-common-lyrics.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.11.62"
4
5 \header {
6   lsrtags = "vocal-music"
7
8   texidoc = "
9 In a vocal piece where there are several (two,four or more) lines of
10 lyrics, and common lyrics for all voices at some point, these common
11 lyrics may be vertically centered regardingly, as shown in the
12 following example:
13
14 "
15   doctitle = "Vertically centered common lyrics"
16 } % begin verbatim
17
18 \include "english.ly"
19 leftbrace = \markup { \override #'(font-encoding . fetaBraces) \lookup #"brace240" }
20 rightbrace = \markup { \rotate #180 \leftbrace }
21
22 dropLyrics =
23 {
24     \override LyricText #'extra-offset = #'(0 . -5)
25     \override LyricHyphen #'extra-offset = #'(0 . -5)
26     \override LyricExtender #'extra-offset = #'(0 . -5)
27 }
28
29 raiseLyrics =
30 {
31     \revert LyricText #'extra-offset
32     \revert LyricHyphen #'extra-offset
33     \revert LyricExtender #'extra-offset
34 }
35
36 skipFour = \repeat unfold 4 { \skip 8 }
37
38 lyricsA = \lyricmode { The first verse has \dropLyrics the com -- mon
39 __ words \raiseLyrics used in all four. }
40 lyricsB = \lyricmode { In stan -- za two, \skipFour al -- so ap -- pear. }
41 lyricsC = \lyricmode { By the third verse, \skipFour are get -- ting dull. }
42 lyricsD = \lyricmode { Last stan -- za, and \skipFour get used once more. }
43
44 melody = \relative c' { c4 d e f g f e8( e f) d4 c e d c }
45
46 \score
47 {
48         <<
49                 \new Voice = m \melody
50                 \new Lyrics \lyricsto m \lyricsA
51                 \new Lyrics \lyricsto m \lyricsB
52                 \new Lyrics \lyricsto m \lyricsC
53                 \new Lyrics \lyricsto m \lyricsD
54         >>
55 }