On Fri, Mar 5, 2010 at 10:31 PM, Jay Anderson <[email protected]> wrote:
> \version "2.13.15"
> \new RhythmicStaff
> {
> %\override Staff.MultiMeasureRest #'extra-offset = #'(0 . -1)
> R1
> }
Of course this doesn't quite work because all multi measure rests are
moved and not just single whole measure rests.
I've been messing with this:
\override Staff.MultiMeasureRest #'extra-offset =
#(lambda (grob)
'(0 . -1))
I only want to return '(0 . -1) if the multi measure rest length is
the same as the length of a full bar. To get at the measure length I
need to do something like (ly:context-property context 'measureLength
#f). How can I get at the context from a callback function like the
one above? or is there a better way to move all full measure rests
down?
It's interesting to me that in this example the whole rest in the last
measure works correctly:
\new RhythmicStaff
{
\time 6/4
R1.
R1.*10
r1 r2
}
Thanks.
-----Jay
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond