[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Vertical positioning of temporary staves
From: |
Trevor Daniels |
Subject: |
Re: Vertical positioning of temporary staves |
Date: |
Thu, 16 Apr 2015 10:34:08 +0100 |
Phil, you wrote Thursday, April 16, 2015 9:59 AM
> Using the code below, I get the temporary staves vertically offset, as shown
> in the attached image. It appears that they are avoiding each others'
> non-existent horizontal extent. Is there any was of lining them up
> vertically?
Only by keeping the context alive during the gap, but if you have to do
this, you might as well put everything into one temporary context, like
this:
\version "2.19.18"
\new Staff = "Permanent"
\relative c'' {
c c c c
<<
{
c c c c
c c c c
c c c c
}
\new Staff \with {
\remove "Time_signature_engraver"
alignAboveContext = #"Permanent"
\magnifyStaff 0.7
}
{
c c c c
\stopStaff
s s s s
\startStaff
\clef "treble"
c c c c
}
>>
c c c c
}
Trevor