X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fmaking-an-object-invisible-with-the-transparent-property.ly;h=b39f9375c24b1f2c054106f2d11a5ab3e1bc433a;hb=8659a99f233f5c4684292728e7ad4206669b35b0;hp=c12509c8c2aa73b0a8dfb99b1625386e3f9e8af2;hpb=cb951038d3e74a85ec8539d0dc51260088251556;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 c12509c8c2..b39f9375c2 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.16.0 -\version "2.16.0" +%% Note: this file works from version 2.19.21 +\version "2.19.21" \header { lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides" @@ -27,16 +27,16 @@ in that voice, the tie appears to cross voices. } % begin verbatim -\relative c'' { +\relative { \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 + \once \hide Stem + \once \override Stem.length = #8 + b'8 ~ 8\noBeam + \once \hide Stem + \once \override Stem.length = #8 + g8 ~ 8\noBeam } \\ {