]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/vocal-ensemble-template.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / vocal-ensemble-template.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 = "really-simple, template, vocal-music"
11
12   texidoc = "
13 Here is a standard four-part SATB vocal score. With larger ensembles,
14 it is often useful to include a section which is included in all parts.
15 For example, the time signature and key signature are almost always the
16 same for all parts. Like in the @qq{Hymn} template, the four voices are
17 regrouped on only two staves.
18
19 "
20   doctitle = "Vocal ensemble template"
21 } % begin verbatim
22
23 \paper {
24   top-system-spacing.basic-distance = #10
25   score-system-spacing.basic-distance = #20
26   system-system-spacing.basic-distance = #20
27   last-bottom-spacing.basic-distance = #10
28 }
29
30 global = {
31   \key c \major
32   \time 4/4
33 }
34
35 sopMusic = \relative {
36   c''4 c c8[( b)] c4
37 }
38 sopWords = \lyricmode {
39   hi hi hi hi
40 }
41
42 altoMusic = \relative {
43   e'4 f d e
44 }
45 altoWords = \lyricmode {
46   ha ha ha ha
47 }
48
49 tenorMusic = \relative {
50   g4 a f g
51 }
52 tenorWords = \lyricmode {
53   hu hu hu hu
54 }
55
56 bassMusic = \relative {
57   c4 c g c
58 }
59 bassWords = \lyricmode {
60   ho ho ho ho
61 }
62
63 \score {
64   \new ChoirStaff <<
65     \new Lyrics = "sopranos" \with {
66       % this is needed for lyrics above a staff
67       \override VerticalAxisGroup.staff-affinity = #DOWN
68     }
69     \new Staff = "women" <<
70       \new Voice = "sopranos" {
71         \voiceOne
72         << \global \sopMusic >>
73       }
74       \new Voice = "altos" {
75         \voiceTwo
76         << \global \altoMusic >>
77       }
78     >>
79     \new Lyrics = "altos"
80     \new Lyrics = "tenors" \with {
81       % this is needed for lyrics above a staff
82       \override VerticalAxisGroup.staff-affinity = #DOWN
83     }
84     \new Staff = "men" <<
85       \clef bass
86       \new Voice = "tenors" {
87         \voiceOne
88         << \global \tenorMusic >>
89       }
90       \new Voice = "basses" {
91         \voiceTwo << \global \bassMusic >>
92       }
93     >>
94     \new Lyrics = "basses"
95     \context Lyrics = "sopranos" \lyricsto "sopranos" \sopWords
96     \context Lyrics = "altos" \lyricsto "altos" \altoWords
97     \context Lyrics = "tenors" \lyricsto "tenors" \tenorWords
98     \context Lyrics = "basses" \lyricsto "basses" \bassWords
99   >>
100 }