]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/creating-a-delayed-turn.ly
Makelsr.py run
[lilypond.git] / Documentation / snippets / creating-a-delayed-turn.ly
1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
5 %
6 % This file is in the public domain.
7 %% Note: this file works from version 2.18.0
8 \version "2.18.0"
9
10 \header {
11   lsrtags = "editorial-annotations, expressive-marks, tweaks-and-overrides"
12
13   texidoc = "
14 Creating a delayed turn, where the lower note of the turn uses the
15 accidental, requires several overrides.  The
16 @code{outside-staff-priority} property must be set to @code{#f}, as
17 otherwise this would take precedence over the
18 @code{avoid-slur property}.  Changing the fractions @code{2/3} and
19 @code{1/3} adjusts the horizontal position.
20 "
21   doctitle = "Creating a delayed turn"
22 } % begin verbatim
23
24
25 \relative c'' {
26   c2*2/3 ( s2*1/3\turn d4) r
27   <<
28     { c4.( d8) }
29     { s4 s\turn }
30   >>
31   \transpose c d \relative c'' <<
32     { c4.( d8) }
33     {
34       s4
35       \once \set suggestAccidentals = ##t
36       \once \override AccidentalSuggestion.outside-staff-priority = ##f
37       \once \override AccidentalSuggestion.avoid-slur = #'inside
38       \once \override AccidentalSuggestion.font-size = -3
39       \once \override AccidentalSuggestion.script-priority = -1
40       \single \hideNotes
41       b8-\turn \noBeam
42       s8
43     }
44   >>
45 }