lilypond-user
[Top][All Lists]
Advanced

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

Re: \single \hideNotes stem vanishes: bug or feature?


From: Michael Gerdau
Subject: Re: \single \hideNotes stem vanishes: bug or feature?
Date: Thu, 16 Mar 2017 19:34:36 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Thanks David,

>> %%%
>> \version "2.19.57"
>>
>> { <\single \hideNotes b' f'> }
>> %%%
>>
>> As expected the b is not displayed. But why does the stem of f vanish
>> (completely) as well?
>> Is that intended (why?) or is that a bug?
>> And if it's intended how do I get the f's stem back?
> 
> The Stem usually has the first notehead as its parent, and \hideNotes is
> defined as
[snipped]

Ok, that clarifies it.

> So you could use
> 
> { <f' \single \hideNotes b'> }

I want the b first because I want the reference point of the chord being
the b as I'm appending a markup to it that is vertically aligned to
another markup that's appended to another note (b' in this case but it
could be anything else)

> instead (to break the relation between Stem and b') or just use
> 
> { <\hide b' f'> }

That gives me the stem back but it's length is as if the b' were there
as well (i.e. it is too long).

I could write { \once \override Stem.length = #5.5 <\hide b' f'> } but
that would require me manually determinating the proper length wherever
I'm using this construct.

Is there an automatic way?

Kind regards,
Michael
-- 
 Michael Gerdau       email: address@hidden
 GPG-keys available on request or at public keyserver



reply via email to

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