]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/non-empty-text.ly
(conv): add 2.2.0 rule.
[lilypond.git] / input / regression / non-empty-text.ly
index 1d445c81fb8c9dac9b88764d082c2c8fdfe9f90c..59baf2fe367612602ec882c1be254c72d32d05af 100644 (file)
@@ -1,15 +1,22 @@
+
+\version "2.1.36"
+
 \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.  " }
 
-\paper {
-  linewidth  = -1.0;
-  }
+\score{
+    \notes\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
+    }
+    \paper {
+       linewidth = 3.0\cm
+    }
 }
+