]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/controlling-the-vertical-ordering-of-scripts.ly
Add '-dcrop' option to ps and svg backends
[lilypond.git] / Documentation / snippets / controlling-the-vertical-ordering-of-scripts.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 = "expressive-marks, tweaks-and-overrides"
11
12   texidoc = "
13 The vertical ordering of scripts is controlled with the
14 @code{'script-priority} property. The lower this number, the closer it
15 will be put to the note. In this example, the @code{TextScript} (the
16 sharp symbol) first has the lowest priority, so it is put lowest in the
17 first example. In the second, the prall trill (the @code{Script}) has
18 the lowest, so it is on the inside. When two objects have the same
19 priority, the order in which they are entered determines which one
20 comes first.
21
22 "
23   doctitle = "Controlling the vertical ordering of scripts"
24 } % begin verbatim
25
26 \relative c''' {
27   \once \override TextScript.script-priority = #-100
28   a2^\prall^\markup { \sharp }
29
30   \once \override Script.script-priority = #-100
31   a2^\prall^\markup { \sharp }
32 }