]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/non-empty-text.ly
Merge with master
[lilypond.git] / input / regression / non-empty-text.ly
index 03bdf52fe93966ca45e44eaed55cb1e072f6ff94..82256aac1899a49edac0097d279fddfc856e4418 100644 (file)
@@ -1,16 +1,22 @@
 
+\version "2.10.0"
+
 \header{
-texidoc="
-Text is set with empty horizontal dimensions.  The boolean property
-textNonEmpty is used to respect the horizontal size of text.
-";
-}
-\score { \notes {
-\property Voice.TextScript \override #'no-spacing-rods = ##f
-c4_"very wide and long text" c4
+  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
 }
 
-\paper {
-  linewidth  = -1.0;
-  }
+\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
 }
+
+