Kieren MacMillan wrote:
Hi Helge,> I need to write something that looks like ottava brackets, but must not > affect the pitch. With _#(set-ocatavation 1)_ I can create a bracket > that yields to _#(set-ocatavation 0)_ and I would also change the text > to i.e. _\set Staff.ottavation = #"Pincé"_ after several measures. > > But how do I keep the pitch for these notes? Why can you not just use a TextSpanner?
Kieren,thanks for hint to TextSpanner. I suspect ottava brackets to use TextSpanner. ;-)
I read the manual and searched at LSR. The sample in LSR looks promisingly. But I don't get the expected results:
1) The text is missing. 2) The falling edge at the end is missing. What's wrong? (Complete example and result attached) Regards, Helge
#(ly:set-option 'point-and-click #f)
\version "2.13.0"
\include "deutsch.ly"
\relative c' {
\clef treble
\time 2/4
\key f \major
\override TextSpanner #'edge-text = #'("Pincé" . ",")
\override TextSpanner #'dash-period = #1
\override TextSpanner #'dash-fraction = #0.5
\override TextSpanner #'edge-height = #'(1 . -2)
\override TextSpanner #'thickness = #1
d8 \startTextSpan e f d |
f8 g a d \stopTextSpan |
\revert TextSpanner #'style
}
span.pdf
Description: Adobe PDF document
_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
