\header
{
- texidoc = "It is possible to have different staff distances across
-piano systems, but it requires some advanced magic. Kids don't try this at home.
-
-"
+ texidoc = "It is possible to have different staff distances between
+the staffs of a piano system, but it requires some advanced Scheme code.
+Currently, this is for testing purposes. "
}
-\version "2.1.24"
+\version "2.2.0"
#(define ((futz-alignment-callback distance count) grob axis)
"Check if we're the system number COUNT, and if yes, set fixed distance to
DISTANCE; then call the original callback. "
(let*
- ((a (ly:get-parent grob axis))
- (o (ly:get-original a))
+ ((a (ly:grob-parent grob axis))
+ (o (ly:grob-original a))
(bs (if (ly:grob? o)
- (ly:get-broken-into o)
+ (ly:spanner-broken-into o)
#f))
)
(< count (length bs))
(equal? (list-ref bs count) a)
)
- (ly:set-grob-property! a 'forced-distance distance))
+ (ly:grob-set-property! a 'forced-distance distance))
(Align_interface::fixed_distance_alignment_callback grob axis)) )