]> git.donarmstrong.com Git - lilypond.git/blob - input/test/script-priority.ly
(neumeDemoPaper): remove duplication from
[lilypond.git] / input / test / script-priority.ly
1
2 \version "2.3.8"
3
4 \header { texidoc = "@cindex Script Priority
5 Relative placements of different script types can be controlled
6 by overriding @code{script-priority}.
7
8 In this example, accidentals are put either below or above other
9 script symbols.
10
11 "
12 }
13
14
15 \score{
16     \context Staff  \relative g''{
17         
18         \override Score.TextScript  #'script-priority = #-100
19         a4^\prall^\markup { \sharp }
20
21         
22         \override Score.Script  #'script-priority = #-100
23         \revert Score.TextScript #'script-priority
24         
25         a4^\prall^\markup { \sharp }
26     }
27         \paper { raggedright = ##t} 
28 }
29