X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fmaking-an-object-invisible-with-the-transparent-property.ly;h=8ff1608b09eff34b55c3d9e6ebd180b6cd52db91;hb=9a2e4509ec1a4004223f63e09dd6342ba261ee71;hp=65df013548c194ee6652c44b5f22e6976b9588c2;hpb=84fa3cb9de968a45ef1bd07e9fe96cec1f3eaf87;p=lilypond.git diff --git a/Documentation/snippets/making-an-object-invisible-with-the-transparent-property.ly b/Documentation/snippets/making-an-object-invisible-with-the-transparent-property.ly index 65df013548..8ff1608b09 100644 --- a/Documentation/snippets/making-an-object-invisible-with-the-transparent-property.ly +++ b/Documentation/snippets/making-an-object-invisible-with-the-transparent-property.ly @@ -4,8 +4,8 @@ % and then run scripts/auxiliar/makelsr.py % % This file is in the public domain. -%% Note: this file works from version 2.15.15 -\version "2.15.15" +%% Note: this file works from version 2.19.2 +\version "2.19.2" \header { lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides" @@ -26,18 +26,18 @@ in that voice, the tie appears to cross voices. doctitle = "Making an object invisible with the 'transparent property" } % begin verbatim + \relative c'' { \time 2/4 << { - \once \override Stem #'transparent = ##t - \once \override Stem #'length = #8 - b8 ~ b\noBeam - \once \override Stem #'transparent = ##t - \once \override Stem #'length = #8 - g8 ~ g\noBeam - } % begin verbatim - + \once \hide Stem + \once \override Stem.length = #8 + b8 ~ 8\noBeam + \once \hide Stem + \once \override Stem.length = #8 + g8 ~ 8\noBeam + } \\ { b8 g g e