[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ties to nothing
From: |
Roland Goretzki |
Subject: |
Re: Ties to nothing |
Date: |
Sun, 14 Nov 2004 15:16:26 +0100 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
Hello list, hello Tim,
You wrote:
> Thanks all, but I can't get it to work.
>
> I'm doing
>
> \begin[20pt]{lilypond}
> \score
> {
> \notes
> {
> \time 4/4
> \property Staff.TimeSignature \set #'style = #'()
> \clef bass
> \stemUp
> b1:32~b4^"L.V." r4 r2 b1:32~b4~<< \hideNotes b4 \unHideNotes r4 >> r2
> \bar "|."
> }
> }
> \end{lilypond}
>
> which is exactly what I want, except that the note between \hideNotes and
> \unHideNotes is not hidden! I'm using 2.0.3 is that feature not available in
> my version?
I did just try Your version, with 2.2.6, changing "\property" with
"\override" and dropping "\set". The result:
The note is not hidden, but a warning is given:
Warning: Can't have rests and note heads together on a stem.:
So, for the warning I changed the line with the notes
b1:32~b4^"L.V." r4 r2 b1:32~b4~<< \hideNotes b4 \unHideNotes r4 >> r2
to
b1:32~b4^"L.V." r4 r2
<< { b1:32~b4~ \hideNotes b4 }
\\
{ \unHideNotes s1 s4 r4 }
>> r2
and both worked correctly. (Only the rest should be shifted, perhaps ;-)
The "\\" seems to be nessecary. :)
Now to Your version-question: I did change
"\hideNotes"
with
"\once\override NoteHead #'transparent = ##t \once\override Stem
#'transparent = ##t"
and drop the
"\unHideNotes"
and it did work also.
%%% my propose (begin) %%%
b1:32~b4^"L.V." r4 r2
<< { b1:32~b4~
\once\override NoteHead #'transparent = ##t
\once\override Stem #'transparent = ##t
b4 }
\\
{ s1 s4 r4 }
>> r2
%%% my propose (end) %%%
So possibly, if You change the syntax for 2.0.3, my propose could work for You,
assuming, that "\hideNotes" doesn't exist in 2.0.3?
I hope this will help. :)
Best Regards Roland