]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/whiteout.ly
Doc-it: add chapter 3 of Notation Reference
[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 white rectangle.  @code{outline}
6 approximates the outline of the markup."
7
8 }
9 \version "2.19.32"
10
11 \paper
12 {
13   ragged-right = ##t
14 }
15
16 \relative {
17   \override TextScript.layer = #'2
18   \override TextScript.extra-offset = #'(2 . 4)
19   c''4-\markup { \whiteout foo } c
20   c-\markup { \whiteout \pad-markup #0.5 foo } c
21   c-\markup {
22     \override #'(thickness . 2)
23     \whiteout foo
24   }
25   c
26   c-\markup {
27     \override #'(thickness . 3)
28     \override #'(whiteout-style . outline)
29     \whiteout foo
30   }
31   c
32 }