]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
LSR: update.
[lilypond.git] / input / lsr / vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.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.46"
4
5 \header {
6   lsrtags = "text, vocal-music, contexts-and-engravers, template"
7
8   texidoc = "
9 This template is basically the same as the simple \"Vocal ensemble\"
10 template, with the exception that here all the lyrics lines are placed
11 using @code{alignAboveContext} and @code{alignBelowContext}.
12
13 "
14   doctitle = "Vocal ensemble template with lyrics aligned below and above the staves"
15 } % begin verbatim
16 global = {
17   \key c \major
18   \time 4/4
19 }
20
21 sopMusic = \relative c'' {
22   c4 c c8[( b)] c4
23 }
24 sopWords = \lyricmode {
25   hi hi hi hi
26 }
27
28 altoMusic = \relative c' {
29   e4 f d e
30 }
31 altoWords = \lyricmode {
32   ha ha ha ha
33 }
34
35 tenorMusic = \relative c' {
36   g4 a f g
37 }
38 tenorWords = \lyricmode {
39   hu hu hu hu
40 }
41
42 bassMusic = \relative c {
43   c4 c g c
44 }
45 bassWords = \lyricmode {
46   ho ho ho ho
47 }
48
49 \score {
50   \new ChoirStaff <<
51     \new Staff = women <<
52       \new Voice = "sopranos" { \voiceOne << \global \sopMusic >> }
53       \new Voice = "altos" { \voiceTwo << \global \altoMusic >> }
54     >>
55     \new Lyrics \with { alignAboveContext = women } \lyricsto sopranos \sopWords
56     \new Lyrics \with { alignBelowContext = women } \lyricsto altos \altoWords
57     % we could remove the line about this with the line below, since we want
58     % the alto lyrics to be below the alto Voice anyway.
59     % \new Lyrics \lyricsto altos \altoWords
60     
61     \new Staff = men <<
62       \clef bass
63       \new Voice = "tenors" { \voiceOne << \global \tenorMusic >> }
64       \new Voice = "basses" { \voiceTwo << \global \bassMusic >> }
65     >>
66     \new Lyrics \with { alignAboveContext = men } \lyricsto tenors \tenorWords
67     \new Lyrics \with { alignBelowContext = men } \lyricsto basses \bassWords
68     % again, we could replace the line above this with the line below.
69     % \new Lyrics \lyricsto basses \bassWords
70   >>
71   \layout {
72     \context {
73       % a little smaller so lyrics
74       % can be closer to the staff
75       \Staff
76       \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
77     }
78   }
79 }