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