lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Positioning new staff


From: Timothy Lanfear
Subject: Re: Positioning new staff
Date: Sat, 4 Sep 2021 19:21:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]