|
From: | Edward Neeman |
Subject: | Re: ottava sign placement and bracket length |
Date: | Thu, 16 Jun 2011 21:56:29 -0400 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 |
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 } |
[Prev in Thread] | Current Thread | [Next in Thread] |