1\version "2.21.0"
2
3\header {
4  texidoc = "
5The positioning of multimeasure rests in @code{\\partCombineApart}
6passages corresponds with @code{\\voiceOne} and @code{\\voiceTwo} even
7when using non-standard staves.
8"
9}
10
11\layout {
12  indent = 4\cm
13  raggedright = ##t
14}
15
16\new StaffGroup
17<<
18  \new Staff \with
19    { \override StaffSymbol.line-count = #4
20      instrumentName = \markup \typewriter "\\partCombine"
21    }
22  {
23    \partCombine  { R1^"R1" r1^"r1"  \time 2/4 R2^"R2" r2^"r2" }
24    { \partCombineApart R1 r1 \time 2/4 R2 r2 }
25
26  }
27  \new Staff \with
28    { \override StaffSymbol.line-count = #4
29      instrumentName = \markup \typewriter "<< ... \\\\ ... >>"
30    }
31  <<
32    { R1 r1 \time 2/4 R2 r2 } \\
33    { R1 r1 \time 2/4 R2 r2 }
34  >>
35>>
36