]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/non-empty-text.ly
*** empty log message ***
[lilypond.git] / input / regression / non-empty-text.ly
index d3eee8bedce9bc19272745a0274cd9f6f97b47be..a1a7b277799b5ff2afb1c1332e0d51811c1e26e6 100644 (file)
@@ -1,17 +1,22 @@
-\version "1.3.146"
+
+\version "2.7.13"
 
 \header{
-texidoc="
-Text is set with empty horizontal dimensions.  The boolean property
-textNonEmpty is used to respect 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.  " }
+
+
+\relative c''{
+  %% \emptyText
+  %% short for \override TextScript  #'no-spacing-rods = ##t
+  c2_"very wide and long text" c | \break
+  %% short for \override TextScript  #'no-spacing-rods = ##f
+  \fatText
+  c_"very wide and long text" c
 }
-\score { \notes {
-\property Voice.TextScript \override #'no-spacing-rods = ##f
-c4_"very wide and long text" c4
+\layout {
+  linewidth = 3.0\cm
 }
 
-\paper {
-  linewidth  = -1.0
-  }
-}
+