On Sat, Sep 4, 2021 at 11:25 AM Hwaen Ch'uqi <[email protected]> wrote:
> On 9/4/21, Paul Hodges <[email protected]> wrote: > > I can't find anything bearing on this, I'm afraid. > > > > I am writing out a piece for two pianos; so there is a grand score > > containing two piano scores. I need to add a third staff to the first > > piano part for just two bars. It will be under the two staves already > > existing. I can add the necessary staff, and it has the correct music > > on it - however, it is positioning itaself under the second piano (and > > drawing barlines right through): > > > > How can I make the extra staff appear in the middle where it should be? > > > > Thanks for any suggestions, > > Paul > Others have beaten me to the punch, but since I have compilable code, here it is: %%% \version "2.22.1" upperPrimary = \relative c' { \repeat unfold 6 { c4 c c c | } } lowerPrimary = \relative c { \clef bass c4 c c c | c4 c c c | << \new Voice { e4 e e e | e4 e e e | } \new Staff \with { \remove Time_signature_engraver alignBelowContext = "lowerPrimary" } { \key c \major \clef bass c4 c c c | c4 c c c | } >> c4 c c c | c4 c c c | } upperSecondary = \relative c' { \repeat unfold 6 { c4 c c c | } } lowerSecondary = \relative c { \clef bass \repeat unfold 6 { c4 c c c | } } \score { \new GrandStaff << \new PianoStaff << \new Staff = "upperPrimary" \upperPrimary \new Staff = "lowerPrimary" \lowerPrimary >> \new PianoStaff << \new Staff = "upperSecondary" \upperSecondary \new Staff = "lowerSecondary" \lowerSecondary >> >> } %%% -- Knute Snortum
