Hi Harm,

thanks alot, this is really helpful!

Cheers
Jan-Peter

Am 05.11.2017 um 16:28 schrieb Thomas Morley:
Hi Jan-Peter,

2017-11-05 15:44 GMT+01:00 Jan-Peter Voigt <jp.vo...@gmx.de>:
Hello James,

thanks for pointing this out! The mentioned case also occurs in my current
score, but most times I deal with a slur over three notes:

\version "2.19.49"

\relative c'' {
   \time 4/4
   % the default case
   \tuplet 3/2 {a8^( g a)}
   % the "avoid-slur"-bug
   \once \override TupletNumber.avoid-slur = #'outside

%% The bug seems to be not present for avoid-sur 'ignore
%% Hence you could workaround with less effort at the lines of:
   \once \override TupletNumber.avoid-slur = #'ignore
   %% probably take slur/tuplet-direction into account
   \once \override TupletNumber.Y-offset =
     #(lambda (grob) (+ (ly:tuplet-number::calc-y-offset grob) 1.1))

   \tuplet 3/2 {a8^( g a)}
   % this is, how it should look like, but unfortunately all have to
   % be set with trial and error for different notes
   \shape #'((0 . -2.1)(0 . -2.1)(0 . -2.1)(0 . -2.1)) Slur
   \once \override TupletNumber.Y-offset = #4.5
   \tuplet 3/2 {a8^( g a)}
}

Jan-Peter


Cheers,
   Harm



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to