Ripped, torn staff-lines: Difference between revisions

No edit summary
Shouldn't be full
 
(4 intermediate revisions by 3 users 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">
For technical reasons, the zigzag lines don't show up in the Wiki because <code>\postscript</code> only works with LilyPond's PS backend and is neither supported in the SVG (used in this Wiki) nor in the Cairo backend.
</div>


<span id="style-1-preferences"></span>
<span id="style-1-preferences"></span>
Line 28: 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 %%


Line 193: Line 191:
[[Category:Staff notation]]
[[Category:Staff notation]]
[[Category:Editorial annotations]]
[[Category:Editorial annotations]]
[[Category:Really cool]][[Category:Snippet]]
[[Category:Really cool]]
[[Category:Snippet]]
 
[[Category:Correction wanted]]