]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/anglican-psalm-template.ly
LSR: update.
[lilypond.git] / Documentation / snippets / anglican-psalm-template.ly
1 % Do not edit this file; it is automatically
2 % generated from Documentation/snippets/new
3 % This file is in the public domain.
4 %% Note: this file works from version 2.13.32
5 \version "2.13.32"
6
7 \header {
8   lsrtags = "vocal-music, template"
9   texidoc = "
10 This template shows one way of setting out an Anglican psalm chant. It
11 also shows how the verses may be added as stand-alone text under the
12 music.  The two verses are coded in different styles to demonstrate
13 more possibilities.
14 "
15   doctitle = "Anglican psalm template"
16 } % begin verbatim
17
18
19 SopranoMusic = \relative g' {
20   g1 | c2 b | a1 | \bar "||"
21   a1 | d2 c | c b | c1 | \bar "||"
22 }
23
24 AltoMusic = \relative c' {
25   e1 | g2 g | f1 |
26   f1 | f2 e | d d | e1 |
27 }
28
29 TenorMusic = \relative a {
30   c1 | c2 c | c1 |
31   d1 | g,2 g | g g | g1 |
32 }
33
34 BassMusic =  \relative c {
35   c1 | e2 e | f1 |
36   d1 | b2 c | g' g | c,1 |
37 }
38
39 global = {
40   \time 2/2
41 }
42
43 dot = \markup {
44   \raise #0.7 \musicglyph #"dots.dot"
45 }
46
47 tick = \markup {
48   \raise #1 \fontsize #-5 \musicglyph #"scripts.rvarcomma"
49 }
50
51 % Use markup to center the chant on the page
52 \markup {
53   \fill-line {
54     \score {  % centered
55       <<
56         \new ChoirStaff <<
57           \new Staff <<
58             \global
59             \clef "treble"
60             \new Voice = "Soprano" <<
61               \voiceOne
62               \SopranoMusic
63             >>
64             \new Voice = "Alto" <<
65               \voiceTwo
66               \AltoMusic
67             >>
68           >>
69           \new Staff <<
70             \clef "bass"
71             \global
72             \new Voice = "Tenor" <<
73               \voiceOne
74               \TenorMusic
75             >>
76             \new Voice = "Bass" <<
77               \voiceTwo
78               \BassMusic
79             >>
80           >>
81         >>
82       >>
83       \layout {
84         \context {
85           \Score
86           \override SpacingSpanner
87           #'base-shortest-duration = #(ly:make-moment 1 2)
88         }
89         \context {
90           \Staff
91           \remove "Time_signature_engraver"
92         }
93       }
94     }  % End score
95   }
96 }  % End markup
97
98 \markup {
99   \fill-line {
100     \column {
101       \left-align {
102         \null \null \null
103         \line {
104           \fontsize #5 O
105           \fontsize #3 come
106           let us \bold sing | unto \dot the | Lord : let
107         }
108         \line {
109           us heartily
110           \concat { re \bold joice }
111           in the | strength of | our
112         }
113         \line {
114           sal | vation.
115         }
116         \null
117         \line {
118           \hspace #2.5 8. Today if ye will hear his voice *
119         }
120         \line {
121           \concat { \bold hard en }
122           \tick not your \tick hearts : as in the pro-
123         }
124         \line {
125           vocation * and as in the \bold day of tempt- \tick
126         }
127         \line {
128           -ation \tick in the \tick wilderness.
129         }
130       }
131     }
132   }
133 }