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.31
7 lsrtags = "vocal-music, template"
9 This code shows one way of setting out a hymn tune when each line
10 starts and ends with a partial measure. It also shows how to add
11 the verses as stand-alone text under the music.
14 doctitle = "Hymn template"
22 s2 | s1 | s2 \breathe s2 | s1 | s2 \bar "||" \break
23 s2 | s1 | s2 \breathe s2 | s1 | s2 \bar "||"
26 SopranoMusic = \relative g' {
27 g4 g | g g g g | g g g g | g g g g | g2
28 g4 g | g g g g | g g g g | g g g g | g2
31 AltoMusic = \relative c' {
32 d4 d | d d d d | d d d d | d d d d | d2
33 d4 d | d d d d | d d d d | d d d d | d2
36 TenorMusic = \relative a {
37 b4 b | b b b b | b b b b | b b b b | b2
38 b4 b | b b b b | b b b b | b b b b | b2
41 BassMusic = \relative g {
42 g4 g | g g g g | g g g g | g g g g | g2
43 g4 g | g g g g | g g g g | g g g g | g2
50 \score { % Start score
52 \new PianoStaff << % Start pianostaff
53 \new Staff << % Start Staff = RH
56 \new Voice = "Soprano" << % Start Voice = "Soprano"
60 >> % End Voice = "Soprano"
61 \new Voice = "Alto" << % Start Voice = "Alto"
65 >> % End Voice = "Alto"
67 \new Staff << % Start Staff = LH
70 \new Voice = "Tenor" << % Start Voice = "Tenor"
74 >> % End Voice = "Tenor"
75 \new Voice = "Bass" << % Start Voice = "Bass"
79 >> % End Voice = "Bass"
91 "This is line one of the first verse"
92 "This is line two of the same"
93 "And here's line three of the first verse"
94 "And the last line of the same"
102 \paper { % Start paper block
103 indent = 0 % don't indent first system
104 line-width = 130 % shorten line length to suit music