Re: \hide c4 hides note head only
Dan Eble d...@faithful.be writes: David Kastrup dak at gnu.org writes: Dan Eble dan at faithful.be writes: So what do you expect for { \hide c'' e''4 } Stem or no stem? Good question. In that context, hiding just the head would not surprise me. But then what about {\hide c''4}? Nothing seems to be hidden in that case. Because an EventChord does not even have a glyph. It's just a container for NoteEvent events and articulations. You can tweak a chord all you like and it will never make a difference. -- David Kastrup ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: \hide c4 hides note head only
David Kastrup dak at gnu.org writes: Dan Eble dan at faithful.be writes: So what do you expect for { \hide c'' e''4 } Stem or no stem? Good question. In that context, hiding just the head would not surprise me. But then what about {\hide c''4}? Nothing seems to be hidden in that case. I might add that { \single\hide Stem c'' g''4 } hides the Stem (since its cause points to the c'' NoteHead) while { c'' \single\hide Stem g''4 } doesn't hide it (since its cause points to the c'' NoteHead). So it's somewhat tricky to derive a consistent behavior here. Clearly (now). I'm not personally very bothered by this because I haven't found an important reason to use \hide, but I do feel sorry for people trying to figure out how it works. Regards, -- Dan ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: \hide c4 hides note head only
Dan Eble d...@faithful.be writes: On Apr 7, 2015, at 00:23 , Pierre Perol-Schneider pierre.schneider.pa...@gmail.com wrote: 2015-04-07 3:35 GMT+02:00 Dan Eble d...@faithful.be mailto:d...@faithful.be: % 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? So what do you expect for { \hide c'' e''4 } Stem or no stem? I might add that { \single\hide Stem c'' g''4 } hides the Stem (since its cause points to the c'' NoteHead) while { c'' \single\hide Stem g''4 } doesn't hide it (since its cause points to the c'' NoteHead). So it's somewhat tricky to derive a consistent behavior here. -- David Kastrup ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: \hide c4 hides note head only
Pierre Perol-Schneider pierre.schneider.pa...@gmail.com writes: Hi Dan 2015-04-07 3:35 GMT+02:00 Dan Eble d...@faithful.be: % 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 } It would be fairly straightforward to let stem transparency (and possibly color) be derived from the transparency of its parent notehead. However, the parent notehead is not particularly well-defined for chords. So the stem is not really a good target for tweaks: using overrides here seems like the safer choice. -- David Kastrup ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: \hide c4 hides note head only
On Apr 7, 2015, at 00:23 , Pierre Perol-Schneider pierre.schneider.pa...@gmail.com wrote: 2015-04-07 3:35 GMT+02:00 Dan Eble d...@faithful.be mailto:d...@faithful.be: % 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? — Dan ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: \hide c4 hides note head only
Am 07.04.2015 um 23:43 schrieb Dan Eble: On Apr 7, 2015, at 00:23 , Pierre Perol-Schneider pierre.schneider.pa...@gmail.com wrote: 2015-04-07 3:35 GMT+02:00 Dan Eble d...@faithful.be mailto:d...@faithful.be: % 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 ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: \hide c4 hides note head only
On Mon, Apr 06, 2015 at 09:35:00PM -0400, Dan Eble wrote: % Is this supposed to leave a stem showing? \version 2.19.17 \hide c''4 — Dan you mean \hideNotes right? Eugene -- Eugene Cormier --- Full-time Instructor Acadia University www.eugenecormier.com eugenecorm...@gmail.com Office: Denton Hall Rm.235 Office Hours: Monday Wednesday 10:30-11:30 (or by appointment) Phone: (902) 585-1329 --- Statement of Confidentiality This message (including attachments) may contain confidential or privileged information intended for a specific individual or organization. If you have received this communication in error, please notify the sender immediately. If you are not the intended recipient, you are not authorized to use, disclose, distribute, copy, print or rely on this email, and should promptly delete this email from your entire computer system. ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
\hide c4 hides note head only
% Is this supposed to leave a stem showing? \version 2.19.17 \hide c''4 — Dan ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond
Re: \hide c4 hides note head only
Hi Dan 2015-04-07 3:35 GMT+02:00 Dan Eble d...@faithful.be: % 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) Cheers, Pierre ___ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond