Re: Problems defining a BraceStaff

2008-02-29 Thread Mats Bengtsson
John Zaitseff wrote: In the end, I came up with the following, which seems to work for me: \layout { \context { \GrandStaff \name "BraceStaff" \type "Engraver_group" The previous line can be remove since it's already included in the definition of Gra

Re: Problems defining a BraceStaff

2008-02-29 Thread John Zaitseff
Dear Mats / other LilyPonders, Mats wrote: > Do you want both the default ChoirStaff and the BraceStaff in the same > score (or in the same .ly file)? Yes, I do. The solution you had suggested (redefining the ChoirStaff context) had already occurred to me... > Otherwise, I think you only inclu

Re: Problems defining a BraceStaff

2008-02-29 Thread Mats Bengtsson
Do you want both the default ChoirStaff and the BraceStaff in the same score (or in the same .ly file)? Otherwise, the easiest solution is just to redefine the ChoirStaff context in the files where you want the brace instead of the bracket: \layout{ \context{ \ChoirStaff systemStartDelimite

Re: Problems defining a BraceStaff

2008-02-29 Thread John Zaitseff
Dear LilyPonders, Mats wrote: > > The question is: how do I define a BraceStaff that is exactly like a > > ChoirStaff, except that braces are used instead of brackets at the > > start of systems? In particular, I tried to define the following in my > > stylesheet (which gets included into all my

Re: Problems defining a BraceStaff

2008-02-29 Thread Mats Bengtsson
It seems that you forgot to include your new context into the context hieararchy, see section "Defining new contexts" in the manual for instructions on how to do that using the \accepts keyword. /Mats John Zaitseff wrote: Dear LilyPond users, I have searched the LilyPond documentation, lil

Problems defining a BraceStaff

2008-02-28 Thread John Zaitseff
Dear LilyPond users, I have searched the LilyPond documentation, lilypond-user mailing list archives and the LilyPond snippet repository---all without success... The question is: how do I define a BraceStaff that is exactly like a ChoirStaff, except that braces are used instead of brackets at t