]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/new/creating-a-delayed-turn.ly
Doc-fr: updates texidocs
[lilypond.git] / Documentation / snippets / new / creating-a-delayed-turn.ly
1 \version "2.17.97"
2
3 \header {
4   lsrtags = "editorial-annotations, expressive-marks, tweaks-and-overrides"
5
6   texidoc = "
7 Creating a delayed turn, where the lower note of the turn uses the
8 accidental, requires several overrides.  The
9 @code{outside-staff-priority} property must be set to @code{#f}, as
10 otherwise this would take precedence over the @code{avoid-slur
11 property}.  Changing the fractions @code{2/3} and @code{1/3} adjusts the
12 horizontal position.
13 "
14   doctitle = "Creating a delayed turn"
15 }
16
17
18 \relative c'' {
19   c2*2/3 ( s2*1/3\turn d4) r
20   <<
21     { c4.( d8) }
22     { s4 s\turn }
23   >>
24   \transpose c d \relative c'' <<
25     { c4.( d8) }
26     {
27       s4
28       \once \set suggestAccidentals = ##t
29       \once \override AccidentalSuggestion #'outside-staff-priority = ##f
30       \once \override AccidentalSuggestion #'avoid-slur = #'inside
31       \once \override AccidentalSuggestion #'font-size = #-3
32       \once \override AccidentalSuggestion #'script-priority = #-1
33       \single \hideNotes
34       b8-\turn \noBeam
35       s8
36     }
37   >>
38 }