[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Overriding OttavaBracket.text fails
From: |
Thomas Morley |
Subject: |
Overriding OttavaBracket.text fails |
Date: |
Sat, 2 Jan 2016 02:21:17 +0100 |
Overriding OttavaBracket.text fails for unknown reasons. Has to be
done after/before-line-breaking.
It fails for \propertyOverride Staff.OttavaBracket.text as well, which
prevents alterBroken from working.
\version "2.19.32"
%% does not work
\relative {
\override Staff.OttavaBracket.text = #"foo"
\ottava #-1
c1 d
}
%% does not work
\relative {
\propertyOverride Staff.OttavaBracket.text "foo"
\ottava #-1
c1 d
}
%% works
\relative {
\override Staff.OttavaBracket.after-line-breaking =
#(lambda (grob) (ly:grob-set-property! grob 'text "foo"))
\ottava #-1
c1 d
}
%% works
\relative {
\override Staff.OttavaBracket.before-line-breaking =
#(lambda (grob) (ly:grob-set-property! grob 'text "foo"))
\ottava #-1
c1 d
}
Cheers,
Harm
- Overriding OttavaBracket.text fails,
Thomas Morley <=