X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fcreating-a-delayed-turn.ly;h=0787bc8b0c587655ccc5d78492b2506cd1d22abe;hb=730d4eb3e0328e8ba0b376f8191a5bb6ae7f904c;hp=fd2a086b8bebb6b8fa85b648c0304616e151e8a5;hpb=8247813bc580a90f7838846dc38aad5d49ac9d9d;p=lilypond.git diff --git a/Documentation/snippets/creating-a-delayed-turn.ly b/Documentation/snippets/creating-a-delayed-turn.ly index fd2a086b8b..0787bc8b0c 100644 --- a/Documentation/snippets/creating-a-delayed-turn.ly +++ b/Documentation/snippets/creating-a-delayed-turn.ly @@ -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 + >> }