]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/non-empty-text.ly
Merge branch 'master' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / input / regression / non-empty-text.ly
index d66be3b0615f7975c904b47fd3e3365d21d9604a..82256aac1899a49edac0097d279fddfc856e4418 100644 (file)
@@ -1,23 +1,22 @@
-\version "1.7.6"
+
+\version "2.10.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{
-       %% \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''{
+  %% \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
 }
-%% new-chords-done %%
+
+