X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fmaking-an-object-invisible-with-the-transparent-property.ly;h=c7ad7b10a5585dd30f10c28a4fa5182ccf0a36e0;hb=8848da24e00c75d7de626b2ecc409fb45e87ce4a;hp=56dfbc6399b063e1bfca4028ef5a6ad3ec356262;hpb=2940cdd12c135ef94e4c95ac815e76014eef9c79;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..c7ad7b10a5 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.17.30 +\version "2.17.30" \header { lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides" @@ -25,15 +26,16 @@ 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 + \once \hide Stem + \once \override Stem.length = #8 b8 ~ b\noBeam - \once \override Stem #'transparent = ##t - \once \override Stem #'length = #8 + \once \hide Stem + \once \override Stem.length = #8 g8 ~ g\noBeam } \\