bug-lilypond
[Top][All Lists]
Advanced

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

Re: \hide c4 hides note head only


From: Simon Albrecht
Subject: Re: \hide c4 hides note head only
Date: Wed, 08 Apr 2015 00:38:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

Am 07.04.2015 um 23:43 schrieb Dan Eble:
On Apr 7, 2015, at 00:23 , Pierre Perol-Schneider <address@hidden> wrote:
2015-04-07 3:35 GMT+02:00 Dan Eble <address@hidden <mailto:address@hidden>>:
% Is this supposed to leave a stem showing?
\version "2.19.17"
\hide c''4

Yes, because equivalent to:

\version "2.19.17"
{
   \tweak transparent ##t c''4
}

(AFAIK)
Equivalence doesn’t really answer the question.  Why would a transparent C have 
a stem?
Well, I think it’s rather a question of syntax: by definition, a tweak before a note refers to the note head, else you’d have to explicitly give a grob name, as is custom with \hide:
\hide Stem \hide c''4
Or use \hideNotes c''4 \unHideNotes, which would be the more obvious choice here. And: I’m sure that there are situations in which people would want a note without a note head. Only personally I’d probably not have thought of omitting the grob name to go with \hide… :-)

Yours, Simon



reply via email to

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