3 texidoc = "some instruments (notably: cello and double bass) are alternatively written on one and two staves. This is the way to do it:"
8 voiceOne = \notes \relative c'' {
14 staffOne = \context Staff = one <
15 \notes \context Voice=one <
20 voiceTwo = \notes \relative c' {
21 % we must have a Thread context before we can switch staffs
22 % in this case, the notes before the switching will do that
34 staffTwo = \context Staff = two <
35 % notes must go to Staff context: we want to switch Staff translators
36 %\notes \context Voice=one <
41 grandstaff = \context GrandStaff = one <
51 \translator { \VoiceContext noAutoBeaming = ##t }
52 \translator { \HaraKiriStaffContext }
53 \translator { \OrchestralScoreContext skipBars = ##t }