From 7e23569bfbb6502bb2e3d6f09f089fdb968b6d55 Mon Sep 17 00:00:00 2001 From: James Lowe Date: Thu, 26 Jun 2014 20:46:40 +0100 Subject: [PATCH] Snippet: Update 'Create Delayed Turn' snippet from old syntax Issue 3970 Updated all the ovverride AccidentalSuggestion settings so that they now use the later accepted syntax supported by the parser. font.size and script.size overrides will work with or without the '#' symbol, so I have removed it in this example just to illustrate this. --- .../snippets/new/creating-a-delayed-turn.ly | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Documentation/snippets/new/creating-a-delayed-turn.ly b/Documentation/snippets/new/creating-a-delayed-turn.ly index 87223e9442..6df9883bfa 100644 --- a/Documentation/snippets/new/creating-a-delayed-turn.ly +++ b/Documentation/snippets/new/creating-a-delayed-turn.ly @@ -1,4 +1,4 @@ -\version "2.17.97" +\version "2.18.0" \header { lsrtags = "editorial-annotations, expressive-marks, tweaks-and-overrides" @@ -7,14 +7,13 @@ Creating a delayed turn, where the lower note of the turn uses the accidental, requires several overrides. The @code{outside-staff-priority} property must be set to @code{#f}, as -otherwise this would take precedence over the @code{avoid-slur -property}. Changing the fractions @code{2/3} and @code{1/3} adjusts the -horizontal position. +otherwise this would take precedence over the +@code{avoid-slur property}. Changing the fractions @code{2/3} and +@code{1/3} adjusts the horizontal position. " doctitle = "Creating a delayed turn" } - \relative c'' { c2*2/3 ( s2*1/3\turn d4) r << @@ -26,10 +25,10 @@ horizontal position. { s4 \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 \override AccidentalSuggestion.outside-staff-priority = ##f + \once \override AccidentalSuggestion.avoid-slur = #'inside + \once \override AccidentalSuggestion.font-size = -3 + \once \override AccidentalSuggestion.script-priority = -1 \single \hideNotes b8-\turn \noBeam s8 -- 2.39.2