]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/creating-a-delayed-turn.ly
Rerun scripts/auxiliar/update-with-convert-ly.sh
[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.dsi.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.17.6"
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}.  The value of @code{halign} is used to position the turn
18 horizontally.
19
20 "
21   doctitle = "Creating a delayed turn"
22 } % begin verbatim
23
24
25 \relative c'' {
26   \once \override TextScript.avoid-slur = #'inside
27   \once \override TextScript.outside-staff-priority = ##f
28   c2(^\markup \tiny \override #'(baseline-skip . 1) {
29     \halign #-4
30     \center-column {
31       \sharp
32       \musicglyph #"scripts.turn"
33     }
34   }
35   d4.) c8
36 }