]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/using-the-whiteout-property.ly
re-run makelsr.py
[lilypond.git] / Documentation / snippets / using-the-whiteout-property.ly
index edce235eb46017450ed768150ae529b9a2cb221d..1e520ddfe12a0cb4f01c6bd474cdc0501b160614 100644 (file)
@@ -1,38 +1,14 @@
-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
-%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
-%% and then run scripts/auxiliar/makelsr.py
-%%
-%% This file is in the public domain.
-\version "2.14.2"
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.19.22
+\version "2.19.22"
 
 \header {
-  lsrtags = "expressive-marks, editorial-annotations"
-
-%% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
-
-  texidoces = "
-
-Se puede imprimir cualquier objeto gráfico sobre un fondo blanco para
-enmascarar parte de los objetos que están por debajo.  Esto puede ser
-útil para mejorar el aspecto de las colisiones en situaciones
-complejas cuando no es práctico reposicionar los objetos.  Es
-necesario establecer explícitamente la propiedad de capa
-(@code{layer}) para controlar qué objetos resultan enmascarados por el
-fondo blanco.
-
-En este ejemplo, la colisión de la ligadura de unión con la indicación
-de compás resulta mejorada enmascarando la parte de la ligadura que
-cruza a la indicación de compás mediante el establecimiento de la
-propiedad @code{whiteout} de @code{TimeSignature}.  Para hacer esto,
-se mueve @code{TimeSignature} a una capa por encima de @code{Tie}, que
-se deja en la capa predeterminada de 1, y @code{StaffSymbol} se mueve
-a una capa por encima de @code{TimeSignature} de manera que no resulte
-enmascarada.
-
-"
-
-  doctitlees = "Uso de la propiedad whiteout"
+  lsrtags = "editorial-annotations, expressive-marks"
 
   texidoc = "
 Any graphical object can be printed over a white background to mask
@@ -44,7 +20,7 @@ background.
 
 In this example the collision of the tie with the time signature is
 improved by masking out the part of the tie that crosses the time
-signature by setting the @code{whiteout} property of
+signature by setting the @code{whiteout-box} property of
 @code{TimeSignature}. To do this @code{TimeSignature} is moved to a
 layer above @code{Tie}, which is left in the default layer of 1, and
 @code{StaffSymbol} is moved to a layer above @code{TimeSignature} so it
@@ -54,11 +30,12 @@ is not masked.
   doctitle = "Using the whiteout property"
 } % begin verbatim
 
+
 {
-  \override Score.StaffSymbol #'layer = #4
-  \override Staff.TimeSignature #'layer = #3
+  \override Score.StaffSymbol.layer = #4
+  \override Staff.TimeSignature.layer = #3
   b'2 b'~
-  \once \override Staff.TimeSignature #'whiteout = ##t
+  \once \override Staff.TimeSignature.whiteout-box = ##t
   \time 3/4
   b' r4
 }