Thomas Morley <thomasmorle...@gmail.com> writes:

> Hi,
>
> consider the following snippet:
>
> musI = { \clef soprano e'4 }
> musII = { \clef alto c'4 }
>
> <<
>   \new Staff \musI
>   \new Staff \musII
>   \new NoteNames \musII
>>>
>
> As long as the NoteNames-context is not commented/deleted the first
> unrelated Staff changes it's clef.
>
> Any insights?

The NoteNames context does not belong to a Staff.  \clef effectively
contains a \context Staff setting which is consequently picked up by the
next Staff in its vicinity.

Should NoteNames be aliased to Staff in order to pick up (and usually
ignore) this kind of setting?

Possibly.  It does have an Axis_group_engraver so it is Staff-like in
several ways.

-- 
David Kastrup

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to