[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Partially blank staff
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] Partially blank staff |
Date: |
Mon, 18 Feb 2019 16:48:04 +0000 |
On Mon, 2019-02-18 at 16:39 +0000, Joe Wilkinson wrote:
> Movements >> Typesetter >> Hide Empty Staffs on all systems exists
> already.
>
> (I tried putting in the Lilypond as a directive at the beginning of
> the
> offending staff and it wouldn't typeset. Sign of someone who doesn't
> reall know what he is doing, I fear!
It is a per-movement directive, not a staff directive the cursor only
has to be in the movement which you wish to be typeset with empty
staffs removed (after the first system).
Richard
>
> Joe
>
> On 18/02/2019 15:27, Richard Shann wrote:
> > On Mon, 2019-02-18 at 13:55 +0000, Richard Shann wrote:
> > > On Mon, 2019-02-18 at 12:54 +0000, Joe Wilkinson wrote:
> > > > Hi Richard,
> > > >
> > > > If I have a piece of music with a harmony part only in the
> > > > second
> > > > half
> > > > of the piece, is it possible to have the staff for that part
> > > > only
> > > > in
> > > > the
> > > > second half (so that there isn't a blank staff for half the
> > > > piece?)
> > > >
> > > > I tried Directives Typesetter (Print) Start Drawing Staff
> > > > again,
> > > > and
> > > > it
> > > > worked but did put a staff at the beginning of each blank line
> > > > (not
> > > > therefore conserving space).
> > >
> > > Command: Hide Empty Staffs (Off/On)
> > > Controls whether staffs containing only rests are printed in the
> > > current movement. All staffs are printed on the first system
> > > (line)
> > > thereafter any staff that has only rests for a entire system is
> > > dropped. Use this in large scores to fit more systems per page.
> > > Location: Object Menu ▶ Movements ▶ Typesetter
> > > Internal Name: HideEmptyStaffs
> > >
> > > There is another bit of LilyPond syntax to hide an empty staff on
> > > the
> > > first system (this command puts in
> > >
> > > \layout {
> > > \context { \Staff \RemoveEmptyStaves }
> > > }
> >
> > I just looked up RemoveEmptyStaves
> > http://lilypond.org/doc/v2.18/Documentation/notation/modifying-sing
> > le-staves#hiding-staves
> > and I see that
> > \override VerticalAxisGroup.remove-first = ##t
> > is what you need to add to the layout...
> >
> >
> > \layout {
> > \context {
> > \Staff \RemoveEmptyStaves
> > % To use the setting globally, uncomment the following line:
> > % \override VerticalAxisGroup.remove-first = ##t
> > }
> > }
> >
> > Richard
> >