]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/whiteout.ly
Imported Upstream version 2.19.45
[lilypond.git] / input / regression / whiteout.ly
index c2802628ea9ff2e3895c4099669b451a4e47a65f..543d94f369da04536a8fc13c3a88a0466871fac4 100644 (file)
@@ -1,18 +1,39 @@
 \header {
 
-  texidoc = "The whiteout command underlays a white box under a
-markup.  "
+  texidoc = "The whiteout command underlays a white background under a
+markup.  The shape is determined by @code{whiteout-style}. The default
+is @code{box} which produces a rectangle.  @code{rounded-box} produces
+a rounded rectangle.  @code{outline} approximates the outline of the
+markup."
 
 }
-\version "2.17.6"
+\version "2.19.32"
 
 \paper
 {
   ragged-right = ##t
 }
 
-\relative c'' {
+\relative {
   \override TextScript.layer = #'2
   \override TextScript.extra-offset = #'(2 . 4)
-  c4-\markup  { \whiteout \pad-markup #0.5 foo } c
+  c''4-\markup { \whiteout foo } c
+  c-\markup { \whiteout \pad-markup #0.5 foo } c
+  c-\markup {
+    \override #'(thickness . 2)
+    \whiteout foo
+  }
+  c
+  c-\markup {
+    \override #'(thickness . 3)
+    \override #'(style . rounded-box)
+    \whiteout foo
+  }
+  c
+  c-\markup {
+    \override #'(thickness . 3)
+    \override #'(style . outline)
+    \whiteout foo
+  }
+  c
 }