bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Clef changes, while NoteNames-context is active


From: David Kastrup
Subject: Re: Clef changes, while NoteNames-context is active
Date: Tue, 14 May 2019 11:13:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Thomas Morley <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]