Avoiding collisions with chord fingerings: Difference between revisions
Appearance
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
No edit summary |
||
| Line 29: | Line 29: | ||
[[Category:Chords]] | [[Category:Chords]] | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]] | ||
[[Category:Rhythms]] | [[Category:Rhythms]][[Category:Snippet]] | ||
Revision as of 22:47, 21 November 2025
Fingerings and string numbers applied to individual notes will automatically avoid beams and stems, but this is not true by default for fingerings and string numbers applied to the individual notes of chords. The following example shows how this default behavior can be overridden.
\version "2.24"
%%%LSR This has been fixed in 2.21.2 -- see Issue 1250 -vv
\relative c' {
\set fingeringOrientations = #'(up)
\set stringNumberOrientations = #'(up)
\set strokeFingerOrientations = #'(up)
% Default behavior
r8
<f c'-5>8
<f c'\5>8
<f c'-\rightHandFinger #2 >8
% No tweak needed
r8
<f c'-5>8
<f c'\5>8
% Corrected to avoid collisions
\override StrokeFinger.add-stem-support = ##t
<f c'-\rightHandFinger #2 >8
}