[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Custom contexts: \accepts behaves weirdly for grouping contexts
From: |
Janek Warchoł |
Subject: |
Re: Custom contexts: \accepts behaves weirdly for grouping contexts |
Date: |
Sat, 2 Aug 2014 12:19:39 +0200 |
2014-08-01 18:26 GMT+02:00 David Kastrup <address@hidden>:
> Janek Warchoł <address@hidden> writes:
>
>> PS interestingly, while whatever is \accepted by StaffGroups seems to
>> be \accepted by ChoirStaffs, PianoStaffs and GrandStaffs won't accept
>> new contexts unless explicitly told.
>
> It's more like ChoirStaffs accept a StaffGroup (which is then implicitly
> created and accepts whatever you declared it to accept).
>
> Try putting some distinctive override into StaffGroup, like \override
> NoteHead.font-size = 3 and you'll see it when your "ChoirStaff accepts"
> your Foo context.
Aha! I see.
> \new Voice ... implicitly creates a Staff, and \new Foo ... implicitly
> creates a StaffGroup.
Ok.
Thanks for the explanations!
Janek