]> git.donarmstrong.com Git - lilypond.git/blob - input/new/creating-a-delayed-turn.ly
Minor logical improvement.
[lilypond.git] / input / new / creating-a-delayed-turn.ly
1 \version "2.12.0"
2
3 \header {
4   lsrtags = "expressive-marks, editorial-annotations, tweaks-and-overrides"
5   texidoc = "Creating a delayed turn, where the lower note of the
6   turn uses the accidental, requires several overrides.  The
7   @code{outside-staff-priority} property must be set to #f, as otherwise
8   this would take precedence over the @code{avoid-slur property}.  The
9   value of @code{halign} is used to position the turn horizontally."
10
11   doctitle = "Creating a delayed turn"
12 }
13
14 \relative c'' {
15   \once \override TextScript #'avoid-slur = #'inside
16   \once \override TextScript #'outside-staff-priority = ##f
17   c2(^\markup \tiny \override #'(baseline-skip . 1) {
18     \halign #-4
19     \center-column {
20       \sharp
21       \musicglyph #"scripts.turn"
22     }
23   }
24   d4.) c8
25 }