X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Fsnippets%2Fusing-the-whiteout-property.ly;h=c6c07217240f19ce797f353888c7d8dfdc786d92;hb=155f287175f1ab04c0f4d84e6e472b22f9c2b6c4;hp=290520453791ad981e90c5c4d49ee51507064fc6;hpb=867db686d5493aa45e38c625d0d9ddae8fc4a0e1;p=lilypond.git diff --git a/Documentation/snippets/using-the-whiteout-property.ly b/Documentation/snippets/using-the-whiteout-property.ly index 2905204537..c6c0721724 100644 --- a/Documentation/snippets/using-the-whiteout-property.ly +++ b/Documentation/snippets/using-the-whiteout-property.ly @@ -1,60 +1,39 @@ -% Do not edit this file; it is automatically -% generated from Documentation/snippets/new -% This file is in the public domain. -%% Note: this file works from version 2.13.10 -\version "2.13.18" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { -%% Translation of GIT committish: ee2fdacf2ff3acd7e6fb7c4005dfe698b1cc4eed + lsrtags = "editorial-annotations, expressive-marks" texidoc = " - -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. - -" - - doctitle = "Uso de la propiedad whiteout" - - lsrtags = "expressive-marks, editorial-annotations" - texidoc = " -Any graphical object can be printed over a white backgound to -mask parts of objects that lie beneath. This can be useful to -improve the appearance of collisions in complex situations when -repositioning objects is impractical. It is necessary to explicitly -set the @code{layer} property to control which objects are masked -by the white background. +Any graphical object can be printed over a white background to mask +parts of objects that lie beneath. This can be useful to improve the +appearance of collisions in complex situations when repositioning +objects is impractical. It is necessary to explicitly set the +@code{layer} property to control which objects are masked by the white +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 @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 is not masked. +signature by setting the @code{whiteout} 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 +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 = ##t \time 3/4 b' r4 }