|
From: | David Nalesnik |
Subject: | Re: Adjusting OttavaBracket parameters (was "Re: can't seem to apply tweaks on tweaks") |
Date: | Fri, 1 Jan 2016 12:08:34 -0600 |
2016-01-01 17:38 GMT+01:00 Kieren MacMillan <address@hidden>:
>
> And my limited testing with \alterBroken seems to suggest that not all bits are user-settable (e.g., I still can’t seem to set the broken text without overriding the stencil).
Well, broken text isn't that hard:
\version "2.19.32"
foo =
\override Staff.OttavaBracket.after-line-breaking =
#(lambda (grob)
(let* ((orig (ly:grob-original grob))
(siblings (if (ly:grob? orig)
(ly:spanner-broken-into orig)
'())))
(if (> (length siblings) 1)
(for-each
(lambda (sib) (ly:grob-set-property! sib 'text ""))
(cdr siblings)))))
mus =
\relative a {
\foo
\ottava #-2
a2 b
\break
a b
%\ottava #0
}
\new StaffGroup
<<
\new Staff \mus
\new Staff \repeat unfold 2 R1
>>
[Prev in Thread] | Current Thread | [Next in Thread] |