]> git.donarmstrong.com Git - lilypond.git/commitdiff
Run makelsr.py
authorJames Lowe <pkx166h@gmail.com>
Tue, 31 Dec 2013 07:21:49 +0000 (07:21 +0000)
committerJames Lowe <pkx166h@gmail.com>
Tue, 31 Dec 2013 07:24:12 +0000 (07:24 +0000)
added new snippet - commit c9acfc85c

Documentation/snippets/creating-a-delayed-turn.ly [new file with mode: 0644]

diff --git a/Documentation/snippets/creating-a-delayed-turn.ly b/Documentation/snippets/creating-a-delayed-turn.ly
new file mode 100644 (file)
index 0000000..298ea05
--- /dev/null
@@ -0,0 +1,46 @@
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.17.97
+\version "2.17.97"
+
+\header {
+  lsrtags = "editorial-annotations, expressive-marks, tweaks-and-overrides"
+
+  texidoc = "
+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.
+"
+  doctitle = "Creating a delayed turn"
+} % begin verbatim
+
+
+\relative c'' {
+  c2*2/3 ( s2*1/3\turn d4) r
+  <<
+    { c4.( d8) } % begin verbatim
+
+    { 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
+    }
+  >>
+}