X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Fsnippets%2Fmaking-an-object-invisible-with-the-transparent-property.ly;h=8ff1608b09eff34b55c3d9e6ebd180b6cd52db91;hb=a94d26b6693cad58b946a01b7efaaed29480f063;hp=56dfbc6399b063e1bfca4028ef5a6ad3ec356262;hpb=2f320e9722ec20d6f13ec567d007763cc912c5da;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 56dfbc6399..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 @@ -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.14.0" +% 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.2 +\version "2.19.2" \header { lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides" @@ -25,16 +26,17 @@ 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 + \once \hide Stem + \once \override Stem.length = #8 + b8 ~ 8\noBeam + \once \hide Stem + \once \override Stem.length = #8 + g8 ~ 8\noBeam } \\ {