3 lsrtags = "vocal-music, template"
5 This code shows one way of setting out a hymn tune when each line
6 starts and ends with a partial measure. It also shows how to add
7 the verses as stand-alone text under the music.
10 doctitle = "Hymn template"
17 s2 | s1 | s2 \breathe s2 | s1 | s2 \bar "||" \break
18 s2 | s1 | s2 \breathe s2 | s1 | s2 \bar "||"
21 SopranoMusic = \relative g' {
22 g4 g | g g g g | g g g g | g g g g | g2
23 g4 g | g g g g | g g g g | g g g g | g2
26 AltoMusic = \relative c' {
27 d4 d | d d d d | d d d d | d d d d | d2
28 d4 d | d d d d | d d d d | d d d d | d2
31 TenorMusic = \relative a {
32 b4 b | b b b b | b b b b | b b b b | b2
33 b4 b | b b b b | b b b b | b b b b | b2
36 BassMusic = \relative g {
37 g4 g | g g g g | g g g g | g g g g | g2
38 g4 g | g g g g | g g g g | g g g g | g2
45 \score { % Start score
47 \new PianoStaff << % Start pianostaff
48 \new Staff << % Start Staff = RH
51 \new Voice = "Soprano" << % Start Voice = "Soprano"
55 >> % End Voice = "Soprano"
56 \new Voice = "Alto" << % Start Voice = "Alto"
60 >> % End Voice = "Alto"
62 \new Staff << % Start Staff = LH
65 \new Voice = "Tenor" << % Start Voice = "Tenor"
69 >> % End Voice = "Tenor"
70 \new Voice = "Bass" << % Start Voice = "Bass"
74 >> % End Voice = "Bass"
86 "This is line one of the first verse"
87 "This is line two of the same"
88 "And here's line three of the first verse"
89 "And the last line of the same"
97 \paper { % Start paper block
98 indent = 0 % don't indent first system
99 line-width = 130 % shorten line length to suit music
100 ragged-bottom = ##f % don't justify systems on page