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