]> 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 ssh://kainhofer@git.sv.gnu.org/srv/git/lilypond into dev...
[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 @code{alignAboveContext} and @code{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 = "sopranos" { \voiceOne << \global \sopMusic >> }
50       \new Voice = "altos" { \voiceTwo << \global \altoMusic >> }
51     >>
52     \new Lyrics \with { alignAboveContext = women } \lyricsto sopranos \sopWords
53     \new Lyrics \with { alignBelowContext = women } \lyricsto altos \altoWords
54     % we could remove the line about this with the line below, since we want
55     % the alto lyrics to be below the alto Voice anyway.
56     % \new Lyrics \lyricsto altos \altoWords
57     
58     \new Staff = men <<
59       \clef bass
60       \new Voice = "tenors" { \voiceOne << \global \tenorMusic >> }
61       \new Voice = "basses" { \voiceTwo << \global \bassMusic >> }
62     >>
63     \new Lyrics \with { alignAboveContext = men } \lyricsto tenors \tenorWords
64     \new Lyrics \with { alignBelowContext = men } \lyricsto basses \bassWords
65     % again, we could replace the line above this with the line below.
66     % \new Lyrics \lyricsto basses \bassWords
67   >>
68   \layout {
69     \context {
70       % a little smaller so lyrics
71       % can be closer to the staff
72       \Staff
73       \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
74     }
75   }
76 }