]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/script-priority.ly
* scripts/convert-ly.py (conv): remove \notes.
[lilypond.git] / input / test / script-priority.ly
index 7921e38eb207de666a367b588a8100447793fa29..2a3da902a7951cca43ab2b033554675878a9b2c9 100644 (file)
@@ -1,19 +1,29 @@
-\version "1.5.68"
-\header {
-    texidoc = "Relative placements of different script types can be controlled
-by overriding script-priority."
+
+\version "2.3.4"
+
+\header { texidoc = "@cindex Script Priority
+Relative placements of different script types can be controlled
+by overriding @code{script-priority}.
+
+In this example, accidentals are put either below or above other
+script symbols.
+
+"
 }
-\paper { linewidth = -1. } 
+
+
 \score{
-    \context Staff \notes \relative g''{
+    \context Staff  \relative g''{
        
-       \property Score.TextScript \override #'script-priority = #-100
-       a4^\prall^#'((music (font-relative-size . -2)) "accidentals-1")
+       \override Score.TextScript  #'script-priority = #-100
+       a4^\prall^\markup { \sharp }
 
        
-       \property Score.Script \override #'script-priority = #-100
-       \property Score.TextScript \revert #'script-priority
+       \override Score.Script  #'script-priority = #-100
+       \revert Score.TextScript #'script-priority
        
-       a4^\prall^#'((music (font-relative-size . -2)) "accidentals-1")
+       a4^\prall^\markup { \sharp }
     }
+       \paper { raggedright = ##t} 
 }
+