Ripped, torn staff-lines: Difference between revisions

nodoc: ps
Shouldn't be full
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Here are some macros which can make a single staff appear as though its right side has been torn off. Two styles are available: the first &quot;erases&quot; the ends of individual staff- lines to different lengths; the second draws a zigzag line and erases everything to its right. Furthermore, the first type is capable of producing tear-patterns at random. Both work by temporarily modifying the <code>BarLine</code> stencil.
Here are some macros (contributed by Mark Polesky) which can make a single staff appear as though its right side has been torn off. Two styles are available: the first &quot;erases&quot; the ends of individual staff- lines to different lengths; the second draws a zigzag line and erases everything to its right. Furthermore, the first type is capable of producing tear-patterns at random. Both work by temporarily modifying the <code>BarLine</code> stencil.


<div class="nodoc">
<div class="nodoc">
Line 32: Line 32:
see the <code>\score { }</code> block at the end of the file.
see the <code>\score { }</code> block at the end of the file.


<lilypond version="2.24" full>
<lilypond version="2.24">
%% http://lsr.di.unimi.it/LSR/Item?id=668
%% see also http://lilypond.1069038.n5.nabble.com/LSR-v2-18-quot-Ripped-torn-staff-lines-quot-does-not-compile-tc159381.html
 
%LSR updated by Harm (Feb. 2014)
%LSR This snippet was contributed by Mark Polesky for version 2.12.0
 
%% preferences %%
%% preferences %%