X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fusing-the-whiteout-property.ly;h=1e520ddfe12a0cb4f01c6bd474cdc0501b160614;hb=791d125bd2f98f1be6b7742bfedd981b5895c0c1;hp=85bb6a7045cd45996faffb8237c6bb133685a19f;hpb=e6e64de1da49ff8c6005daa5fd81adc8387b2668;p=lilypond.git diff --git a/Documentation/snippets/using-the-whiteout-property.ly b/Documentation/snippets/using-the-whiteout-property.ly index 85bb6a7045..1e520ddfe1 100644 --- a/Documentation/snippets/using-the-whiteout-property.ly +++ b/Documentation/snippets/using-the-whiteout-property.ly @@ -1,10 +1,11 @@ -%% 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.20" +% 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 = "editorial-annotations, expressive-marks" @@ -19,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 @@ -29,11 +30,12 @@ is not masked. doctitle = "Using the whiteout property" } % begin verbatim + { \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 }