]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/new/creating-a-delayed-turn.ly
Snippet: Update 'Create Delayed Turn' snippet from old syntax
[lilypond.git] / Documentation / snippets / new / creating-a-delayed-turn.ly
index 87223e9442f504591f9ce95f2a6f592932b2c281..6df9883bfa2e0c895a098c11db1a1e1299fb4527 100644 (file)
@@ -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