]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/whiteout.ly
Merge branch 'master' into translation
[lilypond.git] / input / regression / whiteout.ly
1 \header {
2
3   texidoc = "The whiteout command underlays a white background under a
4 markup.  The shape is determined by @code{whiteout-style}. The default
5 is @code{box} which produces a rectangle.  @code{rounded-box} produces
6 a rounded rectangle.  @code{outline} approximates the outline of the
7 markup."
8
9 }
10 \version "2.19.32"
11
12 \paper
13 {
14   ragged-right = ##t
15 }
16
17 \relative {
18   \override TextScript.layer = #'2
19   \override TextScript.extra-offset = #'(2 . 4)
20   c''4-\markup { \whiteout foo } c
21   c-\markup { \whiteout \pad-markup #0.5 foo } c
22   c-\markup {
23     \override #'(thickness . 2)
24     \whiteout foo
25   }
26   c
27   c-\markup {
28     \override #'(thickness . 3)
29     \override #'(style . rounded-box)
30     \whiteout foo
31   }
32   c
33   c-\markup {
34     \override #'(thickness . 3)
35     \override #'(style . outline)
36     \whiteout foo
37   }
38   c
39 }