X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fusing-the-whiteout-property.ly;h=77bc141d219a36d1ae2f934925f39670574606e9;hb=ded542b6a1700a9e279f6bfb9492fcc65da9fb5e;hp=deddc277ade405190886a6eb28b6f4e207d6e742;hpb=f71ede90de06fdc16dad9ed75f38558efe819080;p=lilypond.git diff --git a/Documentation/snippets/using-the-whiteout-property.ly b/Documentation/snippets/using-the-whiteout-property.ly index deddc277ad..77bc141d21 100644 --- a/Documentation/snippets/using-the-whiteout-property.ly +++ b/Documentation/snippets/using-the-whiteout-property.ly @@ -1,39 +1,15 @@ -%% 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.32 +\version "2.19.32" \header { lsrtags = "editorial-annotations, expressive-marks" -%% Translation of GIT committish: 6977ddc9a3b63ea810eaecb864269c7d847ccf98 - - 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" - texidoc = " 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 @@ -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 = ##t \time 3/4 b' r4 }