[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Positioning new staff
From: |
Hwaen Ch'uqi |
Subject: |
Re: Positioning new staff |
Date: |
Sat, 4 Sep 2021 14:24:42 -0400 |
Greetings Paul,
It would be best to see a code example. However, I have done this
several times. You need to give the lower staff of the first piano a
name, and then tell that temporary staff to be placed under that named
context. Here is a template for just one piano, where staves are added
above and below:
\score {
\new PianoStaff <<
\new Staff = up {
\relative c' {
MUSIC
<<
\new Voice {
\oneVoice MORE MUSIC
}
\new Staff \with {
alignAboveContext = #"up"
}
{
ADDED STAFF
}
>>
}
}
\new Staff = down {
\relative c' {
MUSIC
<<
\new Voice {
\oneVoice MORE MUSIC
}
\new Staff \with {
alignBelowContext = #"down"
}
{
ADDED STAFF
}
>>
}
}
>>
}
hth,
Hwaen Ch'uqi
On 9/4/21, Paul Hodges <pwh@cassland.org> 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