]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
Merge commit 'origin' into beamlets2
[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.12.0"
4
5 \header {
6   lsrtags = "text, vocal-music, contexts-and-engravers, template"
7
8   texidoces = "
9 Esta plantilla es, básicamente, la misma que la sencilla plantilla
10 \"Conjunto vocal\", excepto que aquí todas las líneas de letra se
11 colocan utilizando @code{alignAboveContext} y
12 @code{alignBelowContext}.
13
14 "
15   doctitlees = "Plantilla para conjunto vocal con letras alineadas encima y debajo de los pentagramas"
16   
17   texidocde = "
18 In diesem Beispiel werden die Texte mit den Befehlen 
19 @code{alignAboveContext} und @code{alignBelowContext}
20 über und unter dem System angeordnet.
21 "
22
23   texidoc = "
24 This template is basically the same as the simple \"Vocal ensemble\"
25 template, with the exception that here all the lyrics lines are placed
26 using @code{alignAboveContext} and @code{alignBelowContext}.
27
28 "
29   doctitle = "Vocal ensemble template with lyrics aligned below and above the staves"
30 } % begin verbatim
31
32 global = {
33   \key c \major
34   \time 4/4
35 }
36
37 sopMusic = \relative c'' {
38   c4 c c8[( b)] c4
39 }
40 sopWords = \lyricmode {
41   hi hi hi hi
42 }
43
44 altoMusic = \relative c' {
45   e4 f d e
46 }
47 altoWords = \lyricmode {
48   ha ha ha ha
49 }
50
51 tenorMusic = \relative c' {
52   g4 a f g
53 }
54 tenorWords = \lyricmode {
55   hu hu hu hu
56 }
57
58 bassMusic = \relative c {
59   c4 c g c
60 }
61 bassWords = \lyricmode {
62   ho ho ho ho
63 }
64
65 \score {
66   \new ChoirStaff <<
67     \new Staff = women <<
68       \new Voice = "sopranos" { \voiceOne << \global \sopMusic >> }
69       \new Voice = "altos" { \voiceTwo << \global \altoMusic >> }
70     >>
71     \new Lyrics \with { alignAboveContext = women } \lyricsto sopranos \sopWords
72     \new Lyrics \with { alignBelowContext = women } \lyricsto altos \altoWords
73     % we could remove the line about this with the line below, since we want
74     % the alto lyrics to be below the alto Voice anyway.
75     % \new Lyrics \lyricsto altos \altoWords
76     
77     \new Staff = men <<
78       \clef bass
79       \new Voice = "tenors" { \voiceOne << \global \tenorMusic >> }
80       \new Voice = "basses" { \voiceTwo << \global \bassMusic >> }
81     >>
82     \new Lyrics \with { alignAboveContext = men } \lyricsto tenors \tenorWords
83     \new Lyrics \with { alignBelowContext = men } \lyricsto basses \bassWords
84     % again, we could replace the line above this with the line below.
85     % \new Lyrics \lyricsto basses \bassWords
86   >>
87   \layout {
88     \context {
89       % a little smaller so lyrics
90       % can be closer to the staff
91       \Staff
92       \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
93     }
94   }
95 }