]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/creating-a-delayed-turn.ly
Merge remote-tracking branch 'origin/master' into translation
[lilypond.git] / Documentation / snippets / creating-a-delayed-turn.ly
index fd2a086b8bebb6b8fa85b648c0304616e151e8a5..0787bc8b0c587655ccc5d78492b2506cd1d22abe 100644 (file)
@@ -1,10 +1,10 @@
 %% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.14.2"
+\version "2.18.0"
 
 \header {
   lsrtags = "editorial-annotations, expressive-marks, tweaks-and-overrides"
@@ -14,23 +14,31 @@ 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}.  The value of @code{halign} is used to position the turn
-horizontally.
+property}.  Changing the fractions @code{2/3} and @code{1/3} adjusts
+the horizontal position.
 
 "
   doctitle = "Creating a delayed turn"
 } % begin verbatim
 
-
 \relative c'' {
-  \once \override TextScript #'avoid-slur = #'inside
-  \once \override TextScript #'outside-staff-priority = ##f
-  c2(^\markup \tiny \override #'(baseline-skip . 1) {
-    \halign #-4
-    \center-column {
-      \sharp
-      \musicglyph #"scripts.turn"
+  c2*2/3 ( s2*1/3\turn d4) r
+  <<
+    { c4.( d8) }
+    { s4 s\turn }
+  >>
+  \transpose c d \relative c'' <<
+    { c4.( d8) }
+    {
+      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
+      \single \hideNotes
+      b8-\turn \noBeam
+      s8
     }
-  }
-  d4.) c8
+  >>
 }