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=8298bc08d2d6398af3b1c988b825ad36d355e7ee;hp=c9db53c898075ad5c4f7c3dcc8b146793c49d036;hpb=94408d4a2e538e8812561f29e09116ede58dd042;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 c9db53c898..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,7 +1,11 @@ -%% Do not edit this file; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it -%% This file is in the public domain. -\version "2.13.29" +% 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" @@ -22,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 } \\ {