]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/hymn.ly
LSR: adding new files.
[lilypond.git] / input / test / hymn.ly
index 617285b8d8d1d3a2b276f1496ac5d6ebc54b5147..a16739b846d9d8295719ef0d1b2b4bddaba1d3b5 100644 (file)
@@ -1,29 +1,36 @@
-\version "1.7.18"
-% I think we have other examples of partcombine.  Candidate for delete.  -gp
-\header { texidoc = "" }
+
+\version "2.10.0"
+
+\header { texidoc = "
+
+You can combine two parts on the same staff using the part
+combiner. For vocal scores (hymns), there is no need to add solo/a2
+texts, so they should be switched off.
+
+" }
 
 \score{
-       \context Staff <
+       \context Staff <<
                \time 4/4
-               \context Voice=one \partcombine Voice
-                       \context Thread=one \notes\relative c'' {
-                               a4 c4.(g8-) a4 |
-                               g4 e' g(f-) | 
+               \partcombine 
+                       \relative c'' {
+                               a4 c4.(g8) a4 |
+                               g4 e' g(f) | 
                                b, a c2
                        }
-                       \context Thread=two \notes\relative c'' {
-                               g4 e4.(d8-) c4 |
-                               g'4 c, e(f-) |
+                       \relative c'' {
+                               g4 e4.(d8) c4 |
+                               g'4 c, e(f) |
                                d2 a
                        }
-       >
-       \paper{
-               linewidth=140.\mm
-               \translator {
-                       \VoiceContext
-                       soloADue = ##f
+       >>
+       \layout{
+               line-width=140.\mm
+               \context {
+                       \Voice
+                       printPartCombineTexts = ##f
                }
        }
 }
 
-%% new-chords-done %%
+