[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changing ClusterSpanner #'style in the middle of a piece.
From: |
v!ictor address@hidden |
Subject: |
Changing ClusterSpanner #'style in the middle of a piece. |
Date: |
Fri, 30 Nov 2007 18:16:39 -0500 |
Hello Developers,
Some weeks ago I sent the following question about ClusterSpanners to the users list but got no replies. Maybe one of you can give me a technical explanation or solution to the problem.
I'm wanting to go back and forth between different ClusterSpanner #'style (s) in the middle of a score, but Lilypond seem to ignore all but the first style setting.
Is it not possible to change the style once it's been set? Am I doing something wrong?
Here's an example of what I'm trying to do:
%%%% START %%%%%
\version "2.11.33"
{
\override ClusterSpanner #'style = #'leftsided-stairs
\makeClusters{<c' g'>8 <c' d'>8}
\override ClusterSpanner #'style = #'ramp
% HERE I EXPECT THE FOLLOWING TO BE RAMP CLUSTERS, BUT THEY ARE STILL LEFTSIDED-STAIRS.
\makeClusters{<c' g'>8 <c' d'>8}
}
%%%% END %%%%%
I also tried putting the override inside the \makeClusters, but it makes no difference:
%%%% START %%%%%
\version "2.11.33"
{
\makeClusters{ \override ClusterSpanner #'style = #'leftsided-stairs
<c' g'>8 <c' d'>8
\override ClusterSpanner #'style = #'ramp
% HERE I EXPECT THE FOLLOWING TO BE RAMP CLUSTERS, BUT THEY ARE STILL LEFTSIDED-STAIRS.
<c' g'>8 <c' d'>8
}
}
%%%% END %%%%%
I wonder if this is similar to trying to change the number of lines of a Staff in the middle of a piece, for which it is necessary to use the \stopStaff and \startStaff....
Thanks,
Victor.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changing ClusterSpanner #'style in the middle of a piece.,
v!ictor address@hidden <=