[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Custom contexts: \accepts behaves weirdly for grouping contexts
From: |
David Kastrup |
Subject: |
Re: Custom contexts: \accepts behaves weirdly for grouping contexts |
Date: |
Fri, 01 Aug 2014 18:26:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
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.
>> \new Foo { c'1 }
>>
>> (i.e. no grouping at all) also works.
>> Is this a bug, or a feature i don't understand?
\new Voice ... implicitly creates a Staff, and \new Foo ... implicitly
creates a StaffGroup.
--
David Kastrup
- Re: Custom contexts: \accepts behaves weirdly for grouping contexts,
David Kastrup <=