X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fusing-the-whiteout-property.ly;h=2e9f1a32431d1c8614ea4cb84e9f71f4229702df;hb=e1ce25d2f8182442eec316e33b085922c6a9dcae;hp=4f1a0da93e32191b18519d4971e8c3e6e9fb5257;hpb=579274a935b22567ac15b3651a9d651474f88ec4;p=lilypond.git diff --git a/Documentation/snippets/using-the-whiteout-property.ly b/Documentation/snippets/using-the-whiteout-property.ly index 4f1a0da93e..2e9f1a3243 100644 --- a/Documentation/snippets/using-the-whiteout-property.ly +++ b/Documentation/snippets/using-the-whiteout-property.ly @@ -1,35 +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.16" +%% 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.17.6" \header { - lsrtags = "expressive-marks, editorial-annotations" + lsrtags = "editorial-annotations, expressive-marks" + 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 }