]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.18.0"
8
9 \header {
10   lsrtags = "contexts-and-engravers, template, text, vocal-music"
11
12   texidoc = "
13 This template is basically the same as the simple @qq{Vocal ensemble}
14 template, with the exception that here all the lyrics lines are placed
15 using @code{alignAboveContext} and @code{alignBelowContext}.
16
17 "
18   doctitle = "Vocal ensemble template with lyrics aligned below and above the staves"
19 } % begin verbatim
20
21 global = {
22   \key c \major
23   \time 4/4
24 }
25
26 sopMusic = \relative c'' {
27   c4 c c8[( b)] c4
28 }
29 sopWords = \lyricmode {
30   hi hi hi hi
31 }
32
33 altoMusic = \relative c' {
34   e4 f d e
35 }
36 altoWords = \lyricmode {
37   ha ha ha ha
38 }
39
40 tenorMusic = \relative c' {
41   g4 a f g
42 }
43 tenorWords = \lyricmode {
44   hu hu hu hu
45 }
46
47 bassMusic = \relative c {
48   c4 c g c
49 }
50 bassWords = \lyricmode {
51   ho ho ho ho
52 }
53
54 \score {
55   \new ChoirStaff <<
56     \new Staff = "women" <<
57       \new Voice = "sopranos" { \voiceOne << \global \sopMusic >> }
58       \new Voice = "altos" { \voiceTwo << \global \altoMusic >> }
59     >>
60     \new Lyrics \with { alignAboveContext = #"women" }
61       \lyricsto "sopranos" \sopWords
62     \new Lyrics \with { alignBelowContext = #"women" }
63       \lyricsto "altos" \altoWords
64     % we could remove the line about this with the line below, since
65     % we want the alto lyrics to be below the alto Voice anyway.
66     % \new Lyrics \lyricsto "altos" \altoWords
67
68     \new Staff = "men" <<
69       \clef bass
70       \new Voice = "tenors" { \voiceOne << \global \tenorMusic >> }
71       \new Voice = "basses" { \voiceTwo << \global \bassMusic >> }
72     >>
73     \new Lyrics \with { alignAboveContext = #"men" }
74       \lyricsto "tenors" \tenorWords
75     \new Lyrics \with { alignBelowContext = #"men" }
76       \lyricsto "basses" \bassWords
77     % again, we could replace the line above this with the line below.
78     % \new Lyrics \lyricsto "basses" \bassWords
79   >>
80 }