]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/creating-a-delayed-turn.ly
Doc-fr: updates texidocs
[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.17.97
8 \version "2.17.97"
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 @code{avoid-slur
18 property}.  Changing the fractions @code{2/3} and @code{1/3} adjusts the
19 horizontal position.
20 "
21   doctitle = "Creating a delayed turn"
22 } % begin verbatim
23
24
25
26 \relative c'' {
27   c2*2/3 ( s2*1/3\turn d4) r
28   <<
29     { c4.( d8) }
30     { s4 s\turn }
31   >>
32   \transpose c d \relative c'' <<
33     { c4.( d8) }
34     {
35       s4
36       \once \set suggestAccidentals = ##t
37       \once \override AccidentalSuggestion #'outside-staff-priority = ##f
38       \once \override AccidentalSuggestion #'avoid-slur = #'inside
39       \once \override AccidentalSuggestion #'font-size = #-3
40       \once \override AccidentalSuggestion #'script-priority = #-1
41       \single \hideNotes
42       b8-\turn \noBeam
43       s8
44     }
45   >>
46 }