-\score {
- \notes \simultaneous {
- \new Staff {
- \set Staff.instrument = #"both"
- \common
- }
- \new Staff {
- \set Staff.instrument = #"part"
- \applymusic #(remove-tag 'score) \common
- }
- \new Staff {
- \set Staff.instrument = #"score"
- \applymusic #(remove-tag 'part) \common
- }
- }
+
+\simultaneous {
+ \new Staff {
+ \set Staff.instrumentName = #"both"
+ \common
+ }
+ \new Staff {
+ \set Staff.instrumentName = #"part"
+ \keepWithTag #'part \common
+ }
+ \new Staff {
+ \set Staff.instrumentName = #"score"
+ \keepWithTag #'score \common
+ }