\version "2.12.2" % automatically converted from /home/lilydev/vc/gub/target/linux-x86/src/lilypond-localhost--home-lilydev-vc-lilypond-master/input/regression/musicxml/43c-MultiStaff-DifferentKeysAfterBackup.xml \header { texidoc = "A piano staff with different keys and clefs for each of its staves. The key and clef for the second staff is given only after a backward, just before the first note of the second staff is given, but after the whole measure for staff 1 has been given." } \layout { \context { \Score autoBeaming = ##f } } PartPOneVoiceOne = \relative f' { \clef "treble" \key c \major \numericTimeSignature\time 4/4 f1 } PartPOneVoiceTwo = \relative b, { \numericTimeSignature\time 4/4 \clef "bass" \key d \major b1 } % The score definition \new PianoStaff << \context Staff = "1" << \context Voice = "PartPOneVoiceOne" { \PartPOneVoiceOne } >> \context Staff = "2" << \context Voice = "PartPOneVoiceTwo" { \PartPOneVoiceTwo } >> >>