Hi Luca,
Here are two options :
\version "2.18.2"
arrowBend =
#'((moveto 0 0)
(curveto 0 0 1 0 2 2.5)
(moveto 1.2 1.8)
(curveto 1.2 1.8 1.4 1.8 2 2.5)
(moveto 2 1.5)
(curveto 2 1.5 1.9 1.8 2 2.5))
\relative c'' {
\override Score.SpacingSpanner.shortest-duration-space = #3.0
%% standard notation
e4-\bendAfter #+4
%% adding an arrow on the standard notation
%% handled manually, not easy !!
e4
-\tweak extra-offset #'(3.71 . .7)
^\markup\rotate #-12 \musicglyph #"arrowheads.open.11"
-\bendAfter #+5
%% exchange the standard grob with a path drawing
\once\override BendAfter.stencil = #(lambda (grob)
(grob-interpret-markup grob
#{
\markup\concat { \hspace #1.8 \path #0.2 #arrowBend }
#}))
e4-\bendAfter #+4
}
Cheers,
Pierre
2015-01-26 17:55 GMT+01:00 Luca Danieli <[email protected]>:
> Hi all,
>
> I'd just like to know if there is any command to create curved lines with
> arrows.
> The best solution would be to add arrows to \bendAfter, but I cannot find
> how to do it.
>
> Luca
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user