]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/part-combine.ly
(fill_pages): New method. Try to cramp or
[lilypond.git] / input / test / part-combine.ly
index 2ea4bdd57e825a18dcadf2911683f6587f6a76a6..cda14931d8400381b4957667f6b699e05fe7b87a 100644 (file)
@@ -1,40 +1,32 @@
-\version "1.7.16"
 
-\header{
-texidoc="
-In orchestral scores and hymns, voices are traditionally combined onto
-one staff.  LilyPond has a part combiner, that combines or separates two
-voices according to actual rhythm and pitch.  User-defined texts such as
-``solo'' and ``@`a2'' are typeset automagically, as appropriate.
-"
+\version "2.1.30"
+
+\header{ texidoc="@cindex Part Combine
+In orchestral scores and hymns, voices are traditionally combined into
+one staff.  LilyPond has a part combiner that combines, or separates, two
+voices according to the actual rhythm and pitch.  Configurable texts, such 
+as ``solo'' and ``@`a2'', are typeset automatically in appropriate
+places. "
 }
 
 \score{
-   \notes \context Staff = flauti <
+   \notes \context Staff = flauti <<
     \time 4/4
-    \context Voice=one \partcombine Voice
-    \context Thread=one\relative c'' {
+    \partcombine
+    \relative c'' {
       c4 d e f | b,4 d c d | r2 e4 f | c4 d e f |
       c4 r e f | c4 r e f | c4 r a r | a a r a |
-      a2 \property Voice.soloADue = ##f a |
+      a2 \set soloADue = ##f a |
     }
-    \context Thread=two\relative c'' {
+    \relative c'' {
       g4 b d f | r2 c4 d | a c c d | a4. b8 c4 d
       c r e r | r2 s2 | a,4 r a r | a r r a |
-      a2 \property Voice.soloADue = ##f a |
+      a2 \set soloADue = ##f a |
     }
-  >
+  >>
   \paper{
-    linewidth = 80 * \staffspace
-    \translator{
-      \ThreadContext
-      \consists Rest_engraver
-    }
-    \translator{
-      \VoiceContext
-      \remove Rest_engraver
-    }
+       raggedright = ##t
   }
 }
 
-%% new-chords-done %%
+