X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fnon-empty-text.ly;h=41d9c7235a44f443392b1ef354eecd45aa445a05;hb=ce6e56a8510206bff0d329bb79b9c0211999636f;hp=df9f39a37d5b71f8a089d8fdf8059e421f26a04e;hpb=955f829883aa125b2b633b1e71f6256da5b773fa;p=lilypond.git diff --git a/input/regression/non-empty-text.ly b/input/regression/non-empty-text.ly index df9f39a37d..41d9c7235a 100644 --- a/input/regression/non-empty-text.ly +++ b/input/regression/non-empty-text.ly @@ -1,24 +1,22 @@ -#(ly:set-option 'old-relative) -\version "1.9.0" + +\version "2.7.39" \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. " } + -\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''{ + %% \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 } +\layout { + line-width = 3.0\cm +} +