-Parts may be merged without printing text:
-
-@lilypond[quote,verbatim]
-\new Staff <<
- \set Staff.printPartCombineTexts = ##f
- \partcombine
- \relative g' { g a( b) r }
- \relative g' { g r4 r f }
->>
-@end lilypond
-
-The printed text may be changed:
-
-@lilypond[quote,verbatim]
-\new Staff <<
- \set Score.soloText = #"girl"
- \set Score.soloIIText = #"boy"
- \set Score.aDueText = #"together"
- \partcombine
- \relative g' { g4 g r r a2 g }
- \relative g' { r4 r a( b) a2 g }
->>
-@end lilypond
+@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
+{combining-two-parts-on-the-same-staff.ly}