ly:default-scale: don't return SCM_BOOL_F if default_global_scale exists.
[lilypond.git] / input / regression / markup-word-wrap.ly
blobef9e5b065dfc776e0f18b7aec3f9811c30015bcd
1 \header {
3 texidoc = "The markup commands @code{\wordwrap} and @code{\justify}
4 produce simple paragraph text."
8 \version "2.12.0"
10 \markup {
11 this is normal text
12 \override #'(line-width . 60)
13 \wordwrap {
14 This is a test of the wordwrapping function.
15 1 This is a test of the wordwrapping function.
16 2 This is a test of the wordwrapping function.
17 3 This is a test of the wordwrapping function.
18 4 1a111 11111 \bold 22222 \italic 2222
20 continuing
23 \markup {
24 this is normal text
25 \override #'(line-width . 40)
26 \justify {
27 This is a test of the wordwrapping function, but with justification.
28 1 This is a test of the wordwrapping function, but with justification.
29 2 This is a test of \fraction a b the wordwrapping function, but with justification.
30 3 This is a test of the wordwrapping function, but with justification. bla bla
32 continuing
36 \markup {
38 \override #'(line-width . 40)
40 { \wordwrap-string #" Om mani padme hum Om mani padme hum Om mani
41 padme hum Om mani padme hum Om mani padme hum Om mani padme hum Om
42 mani padme hum Om mani padme hum.
44 Gate Gate paragate Gate Gate paragate Gate Gate paragate Gate Gate
45 paragate Gate Gate paragate Gate Gate paragate."
47 \justify-string #" Om mani padme hum Om mani padme hum Om mani
48 padme hum Om mani padme hum Om mani padme hum Om mani padme hum Om
49 mani padme hum Om mani padme hum.
51 Gate Gate paragate Gate Gate paragate Gate Gate paragate Gate Gate
52 paragate Gate Gate paragate Gate Gate paragate." }