lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tuplet bracket collides with fingering when slurred


From: Olivier Biot
Subject: Re: Tuplet bracket collides with fingering when slurred
Date: Tue, 4 Dec 2012 18:05:12 +0100

Dear all,

As a follow-up, here's another snippet featuring the same or similar behavior. I haven't found the way to solve this problem yet.

% BEGIN snippet 2
\version "2.16.1"

theMusic = \new Staff {
  \relative d' {
    \clef "bass"
    \key g \major
    \time 2/4
    \times 4/6 { g,,16 ( b' g' )  g ( b, g, )    c,->-\f ( e'-3 c'-4 )  c ( e, c, ) }   | % Test 1: sextuplets
    \times 2/3 { g'16 ( b' g' )  g ( b, g, ) } \times 2/3 { c,->-\f ( e'-3 c'-4 )  c ( e, c, ) }  | % Test 2: triplets
  }
}

\score {
  \theMusic

  \layout {
    \context {
      \Staff
      \override Fingering #'add-stem-support = ##t
      \override Fingering #'avoid-slur = #'outside
      \override TupletBracket #'bracket-visibility = ##t
    }
  }
}
% END snippet 2

Best regards,

Olivier


On Fri, Nov 23, 2012 at 10:58 PM, Olivier Biot <address@hidden> wrote:
Dear LilyPond users,

How can I avoid the tuplet bracket colliding with fingerings in case the tuplet has a slur?

Example of tuplet without and with slur, illustrating the problem:


% BEGIN
\version "2.16.1"

\score {

  \new Staff {
    \relative c, {
      \key g \major
      \time 2/4
      \clef "bass"
      \times 2/3 { c16->-\f e'-3 c'-4  c e, c,  }
      \times 2/3 { c16->-\f ( e'-3 c'-4 )  c ( e, c, ) }
    }
  }

  \layout {
    \context {
      \Staff
      \override Fingering #'add-stem-support = ##t
      \override Fingering #'avoid-slur = #'outside
      \override TupletBracket #'bracket-visibility = ##t
      \override TupletBracket #'avoid-slur = ##t
      \override TupletNumber #'avoid-slur = ##t
    }
  }
}
% END

Is this related to the following issue?
http://code.google.com/p/lilypond/issues/detail?id=2397

Best regards,

Olivier


reply via email to

[Prev in Thread] Current Thread [Next in Thread]