]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/non-empty-text.ly
Merge commit 'origin' into beamlets2
[lilypond.git] / input / regression / non-empty-text.ly
index 71bc0debe9299551456d1761e3bd1bc6ed032051..f4d9e94e3d153485a5f7c4e2ee2d7e67ca075be6 100644 (file)
@@ -1,24 +1,22 @@
 
-\version "1.9.1"
+\version "2.12.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.  " }
+
+\layout {
+  line-width = 3.0\cm
 }
 
-\score{
-    \notes\relative c''{
-       %% \emptyText
-       %% short for \property Voice.TextScript \set #'no-spacing-rods = ##t
-       c2_"very wide and long text" c | \break
-       %% short for \property Voice.TextScript \set #'no-spacing-rods = ##f
-       \fatText
-       c_"very wide and long text" c
-    }
-    \paper {
-       linewidth  = 3.0\cm
-    }
+\relative c''{
+  %% \textLengthOff
+  %% short for \override TextScript  #'no-spacing-rods = ##t
+  c2_"very wide and long text" c | \break
+  %% short for \override TextScript  #'no-spacing-rods = ##f
+  \textLengthOn
+  c_"very wide and long text" c
 }
 
+