\set PianoStaff.followVoice = ##t
<<
- \context Staff = "RH" { % Right hand
+ \new Staff { % Right hand
\clef treble
\key g \major
\relative c'' {
\bar "|."
}
}
- \context Staff = "LH" { % Left hand
+ \new Staff { % Left hand
\clef bass
\key g \major
\relative c' {