Colored arrow: Difference between revisions

Import snippet from LSR
 
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This snippet demonstrates drawing colored arrows in a score, e.g. for analysis purposes. These arrows have a fixed length and angle. If you prefer arrows that adapt to layout changes, please also have a look at snippet 962.
This snippet demonstrates drawing colored arrows in a score, e.g. for analysis purposes. These arrows have a fixed length and angle. If you prefer arrows that adapt to layout changes, please also have a look at snippet 962.


<lilypond version="2.24.0">
See also [[Colored arrow (2)]].  
% http://lsr.di.unimi.it/LSR/Item?u=1&id=961
%% => http://lilypond.1069038.n5.nabble.com/scheme-problem-colored-background-layers-tc169023.html


<lilypond version="2.24">
#(define-markup-command (Arrow layout props color angle length moveX moveY)  
#(define-markup-command (Arrow layout props color angle length moveX moveY)  
   (color? number? number? number? number?)
   (color? number? number? number? number?)
Line 43: Line 42:
[[Category:Specific notation]]
[[Category:Specific notation]]
[[Category:Syntax and expressions]]
[[Category:Syntax and expressions]]
[[Category:Snippet]]