Rewriting the Stem stencil using markup paths: Difference between revisions

Import snippet from LSR
 
m New category
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This snippet rewrites <code>ly:stem::print</code> using a markup, which can be used as a base to create markup path stems. The example given produces stems shaped like bolts of lightning.
This snippet rewrites <code>ly:stem::print</code> using a markup, which can be used as a base to create markup path stems. The example given produces stems shaped like bolts of lightning.


<lilypond version="2.24.0">
<lilypond version="2.24">
%% http://lsr.di.unimi.it/LSR/Item?id=864
%% http://lsr.di.unimi.it/LSR/Item?id=864


Line 57: Line 57:
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Rhythms]]
[[Category:Rhythms]]
[[Category:Snippet]]