Creating a delayed turn: Difference between revisions
Appearance
Import snippet from LSR |
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 |
||
| Line 1: | Line 1: | ||
Creating a delayed turn, where the lower note of the turn uses the accidental, requires several overrides. The <code>outside-staff-priority</code> property must be set to <code>#f</code>, as otherwise this would take precedence over the <code>avoid-slur</code> property. Changing the fractions <code>2/3</code> and <code>1/3</code> adjusts the horizontal position. | Creating a delayed turn, where the lower note of the turn uses the accidental, requires several overrides. The <code>outside-staff-priority</code> property must be set to <code>#f</code>, as otherwise this would take precedence over the <code>avoid-slur</code> property. Changing the fractions <code>2/3</code> and <code>1/3</code> adjusts the horizontal position. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
\relative c'' { | \relative c'' { | ||
\after 2*2/3 \turn c2( d4) r | | \after 2*2/3 \turn c2( d4) r | | ||
Revision as of 18:50, 16 November 2025
Creating a delayed turn, where the lower note of the turn uses the accidental, requires several overrides. The outside-staff-priority property must be set to #f, as otherwise this would take precedence over the avoid-slur property. Changing the fractions 2/3 and 1/3 adjusts the horizontal position.
\version "2.24"
\relative c'' {
\after 2*2/3 \turn c2( d4) r |
\after 4 \turn c4.( d8)
\after 4
{
\once \set suggestAccidentals = ##t
\once \override AccidentalSuggestion.outside-staff-priority = ##f
\once \override AccidentalSuggestion.avoid-slur = #'inside
\once \override AccidentalSuggestion.font-size = -3
\once \override AccidentalSuggestion.script-priority = -1
\once \hideNotes
cis8\turn \noBeam
}
d4.( e8)
}