|
On 6/16/11 9:31 PM, Sepand Shahab wrote: Dear list,Here's my quick little function for moving the endpoints of 8va brackets horizontally using shorten-pair and extra-offset. It's not ideal because extra-offset doesn't affect spacing. Edward %% stretch an ottava bracket \version "2.14.1" stretchOttava = #(define-music-function (parser location offset) (pair?) #{ \once \override Staff.OttavaBracket #'extra-offset = #(cons (- (car $offset)) 0) \once \override Staff.OttavaBracket #'shorten-pair = #(cons 0 (- (+ (car $offset) (cdr $offset)))) #}) \relative c' { \stretchOttava #'(-2 . 5) \ottava #1 c'' c \ottava #0 c c } |
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
