From: James Lowe Date: Tue, 31 Dec 2013 07:21:49 +0000 (+0000) Subject: Run makelsr.py X-Git-Tag: release/2.19.0-1~19 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f5ae936aacce463eaea97b19df044dc9370dec33;p=lilypond.git Run makelsr.py added new snippet - commit c9acfc85c --- diff --git a/Documentation/snippets/creating-a-delayed-turn.ly b/Documentation/snippets/creating-a-delayed-turn.ly new file mode 100644 index 0000000000..298ea0520e --- /dev/null +++ b/Documentation/snippets/creating-a-delayed-turn.ly @@ -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 + } + >> +}