]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/non-empty-text.ly
Rerun scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / non-empty-text.ly
1 \version "2.17.6"
2
3 \header{
4   texidoc = "By default, text is set with empty horizontal dimensions.
5 The property @code{extra-spacing-width} in @code{TextScript} is used
6 to control the horizontal size of text."
7 }
8
9 \layout {
10   line-width = 3.0\cm
11 }
12
13 \relative c''{
14   %% \textLengthOff
15   %% short for \override TextScript.extra-spacing-width = #'(+inf.0 . -inf.0)
16   %%           \override TextScript.extra-spacing-height = #'(0 . 0)
17   c2_"very wide and long text" c | \break
18   %% short for \override TextScript.extra-spacing-width = #'(0 . 0)
19   %%           \override TextScript.extra-spacing-height = #'(-inf.0 . +inf.0)
20   \textLengthOn
21   c2_"very wide and long text" c
22 }