On 04/09/2021 18:33, Paul Hodges 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?
The solution is described in this section of the manual
http://lilypond.org/doc/v2.22/Documentation/notation/context-layout-order.
Name to the staff above the temporary staff when you create it, e.g.
\new Staff = "PianoOneLH" { ... }
Then position the temporary staff below it with
\new Staff \with { alignBelowContext = "PianoOneLH" } { ... }
--
Timothy Lanfear, Bristol, UK.