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 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hiding or delaying new staffs
- Original Message - From: "Steve Downes" To: "lilypond-user Mailinglist" 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 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hiding or delaying new staffs
On Tue, Nov 08, 2011 at 06:50:32PM -, Phil Holmes wrote: > - Original Message - From: "Steve Downes" > > To: "lilypond-user Mailinglist" > 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
Re: Hiding or delaying new staffs
- Original Message - From: "Steve Downes" To: "Phil Holmes" Cc: "lilypond-user Mailinglist" Sent: Tuesday, November 08, 2011 7:29 PM Subject: Re: Hiding or delaying new staffs On Tue, Nov 08, 2011 at 06:50:32PM -, Phil Holmes wrote: - Original Message - From: "Steve Downes" To: "lilypond-user Mailinglist" 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 It shouldn't do this. I've been producing scores like this correctly with no problems. Can you post an example of where it's not working? -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hiding or delaying new staffs
hi steve downes wrote: > > >> To get rid of all except piano staffs which only contain Whole >> Measure Rests, use: >> >> \layout { >> \context { >>\RemoveEmptyStaffContext >>\override VerticalAxisGroup #'remove-first = ##t >> } >> } > > 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. > for me Phil's code works - what's your code?! -- View this message in context: http://old.nabble.com/Hiding-or-delaying-new-staffs-tp32805610p32805995.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Hiding or delaying new staffs
Phil & Eluze, Please accept my apologies. I have found the problem & it is down to me not being careful enough with { }. It is now working fine. I am new to lilypond & virtually new to compiled languages & struggling with the level of attention to detail required. Will try to do better. Many thanks Steve On Tue, Nov 08, 2011 at 02:28:31PM -0800, -Eluze wrote: > > hi > > steve downes wrote: > > > > > >> To get rid of all except piano staffs which only contain Whole > >> Measure Rests, use: > >> > >> \layout { > >> \context { > >>\RemoveEmptyStaffContext > >>\override VerticalAxisGroup #'remove-first = ##t > >> } > >> } > > > > 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. > > > for me Phil's code works - what's your code?! > -- > View this message in context: > http://old.nabble.com/Hiding-or-delaying-new-staffs-tp32805610p32805995.html > Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user