On 02/12/12 10:46, Olivier Biot wrote:
Hi all,
Is there a simple way to avoid fingerings from being overwritten with
a phrasing slur, like in the following measure?
% BEGIN
\version "2.16.1"
theMusic = \new Staff {
\relative d' {
\key f \major
\time 3/4
\clef "bass"
\acciaccatura { e-\! } d4 cis8-\> \( ( a'16-.-3 ) a-.-\! \)
}
}
\score {
\theMusic
\layout {
\context {
\Staff
\override Fingering #'add-stem-support = ##t
\override Fingering #'avoid-slur = #'outside
\override TupletBracket #'bracket-visibility = ##t
}
}
}
% END
The following directive works for regular slurs:
\override Fingering #'avoid-slur = #'outside
However, phrasing slurs seem to be immune to this ovverride...
As (in this case) the slur and phrasing slur overlap even without the
fingering, you might as well shape the phrasing slur to avoid both the
slur and fingering.
\version "2.16.1"
theMusic = \new Staff {
\relative d' {
\key f \major
\time 3/4
\clef "bass"
\acciaccatura { e-\! } d4 \shape #'((0 . 1) (0 . 1.8) (0 . 1.8) (0
. 0)) PhrasingSlur
cis8-\> \( ( a'16-.-3 ) a-.-\! \)
}
}
\score {
\theMusic
\layout {
\context {
\Staff
\override Fingering #'add-stem-support = ##t
\override Fingering #'avoid-slur = #'outside
\override TupletBracket #'bracket-visibility = ##t
}
}
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user