Malte Meyn <lilyp...@maltemeyn.de> writes:

> Hi list,
>
> I’m not sure whether the following comes from my missing knowledge or
> a bug. In the code below, adding the clef makes the Staff
> disappear. Why?
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> \version "2.19.82"
>
> <<
>   \chords { c }
>   \relative { \clef bass c' }
>>>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%

To have a Staff "disappear" it must be there first.  I don't see any
\new Staff .  \clef bass just hooks into the existing chord staff and
then c' no longer sees a reason to create its own Staff, rather using
the one that \clef bass was satisfied with.

If you want a Staff, create it rather than rely on somebody else doing
that, maybe.

-- 
David Kastrup

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

Reply via email to