On Tue, Nov 08, 2011 at 06:50:32PM -0000, Phil Holmes wrote: > ----- Original Message ----- From: "Steve Downes" > <st...@kingswayelec.co.uk> > To: "lilypond-user Mailinglist" <lilypond-user@gnu.org> > Sent: Tuesday, November 08, 2011 6:46 PM > Subject: Hiding or delaying new staffs > > > >I have a situation I feel there should be an answer to but cannot > >find it. I write arrangements which start with, say, 8 bars intro > >during which , again say, up to 4 front line instruments are doing > >nothing. I either want to suppress their staffs during the intro > >or not create them till the end of the intro. I can suppress the > >staff itself but not the clef, time sig & key sig. > > > >Steve > > To get rid of all except piano staffs which only contain Whole > Measure Rests, use: > > \layout { > \context { > \RemoveEmptyStaffContext > \override VerticalAxisGroup #'remove-first = ##t > } > } > > > > -- > Phil Holmes > > >
Thanks for your very prompt reply. I had already done this & there are 2 problems with it:- 1) It leaves the clef, key sig, & time sig where the staff was at the beginning 2) When I start to use the staff 8 bars later it puts it at the beginning of the intro. If I pad the 8 bars out with R1 * 8 | or s1 * 8 | it puts the staff back in. So I'm back where I started. Steve _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user