From: |
Jethro Van Thuyne |
Subject: |
Slur as TupletBracket |
Date: |
Tue, 9 Feb 2010 18:55:33 +0000 (UTC) |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
I'm trying to replace the tuplet bracket with a slur by doing:
\layout {
\context {
\Score
\override TupletBracket #'stencil = #ly:slur::print
}
}
Unfortunately, I get a fucked up slur, starting and ending vertically on
the first note of the triplet (version 2.12.3):
http://hemiola.eu/tuplet_slur.png
Is it broken or am I doing it wrong?
Best regards,
Jethro.
___________________________________
I use v2.14.2
Lilypond goes ignorant with tuplet brackets in style of a slur.
Switching to slur::print will require you add three control points for the slur
to manually define the curve:
\override TupletBracket #'control-points = #'( ( 4.5284 . 4.166) ( 6.521 . 4.89) ( 8.9664 . 4.619) ( 10.415 . 2.717) )
Another side-effect of this option is collision avoidance is disabled, and
you'll likely need to also tweak the the TupletNumber offset with command like:
\override TupletNumber #'extra-offset = #'(2.2 . -1.4 )