]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/non-empty-text.ly
* scripts/convert-ly.py (conv): fixed \context Foo = mixedCaps
[lilypond.git] / input / regression / non-empty-text.ly
index df9f39a37d5b71f8a089d8fdf8059e421f26a04e..0e5a40f2ee3dfb0c731f14701f3bc07347ce165f 100644 (file)
@@ -1,24 +1,22 @@
-#(ly:set-option 'old-relative)
-\version "1.9.0"
+
+\version "2.4.0"
 
 \header{
-    texidoc="
-Text is set with empty horizontal dimensions.  The boolean property
-TextScript.no-spacing-rods is used to control the horizontal size of text.
-"
-}
+    texidoc=" By default, text is set with empty horizontal dimensions.  
+The boolean property @code{no-spacing-rods} in @code{TextScript} is used
+to control the horizontal size of text.  " }
 
 \score{
-    \notes\relative c''{
+    \relative c''{
        %% \emptyText
-       %% short for \property Voice.TextScript \set #'no-spacing-rods = ##t
+       %% short for \override TextScript  #'no-spacing-rods = ##t
        c2_"very wide and long text" c | \break
-       %% short for \property Voice.TextScript \set #'no-spacing-rods = ##f
+       %% short for \override TextScript  #'no-spacing-rods = ##f
        \fatText
        c_"very wide and long text" c
     }
-    \paper {
-       linewidth  = 3.0\cm
+    \layout {
+       linewidth = 3.0\cm
     }
 }