[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RemoveEmptyStaves and the ambitus_engraver
From: |
Janek Warchoł |
Subject: |
Re: RemoveEmptyStaves and the ambitus_engraver |
Date: |
Wed, 3 Apr 2013 16:32:09 +0200 |
On Mon, Apr 1, 2013 at 3:41 PM, Roman Stawski <address@hidden> wrote:
>> I'm not top posting.
>
> It seems that \RemoveEmptyStaves doesn't play very well with the
> ambitus_engraver.
>
> In this example, I'm trying to get the treble staff removed in the
> first two systems, and appear with an ambitus on the third.
>
> It is removed correctly in the first system. But reappears in the
> second. If I comment out the line (*), then the staves are removed as
> needed, but the ambitus is too of course.
Interesting. If i were you, i'd place the skips inside MainSequence
and have the ambitus appear at the very beginning, and keep that first
system alive (which makes
some sense in my opinion):
\new Staff \relative c' {
\clef treble
\new MainSequence {
\skip 1*8
\repeat unfold 2 { e1 e'1 }
}
}
hth,
Janek Warchoł