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