Vivian Barty-Taylor <[email protected]> writes:

> Dear list,
> I have been using Lilypond for many years, and have written a scheme function 
> to
> create a double ended arrow which I need for my notation (someone on this list
> helped me with this some years ago.)
>
> The code looks like this:
>
> arrow = #(define-music-function (parser location arg1) ( pair?)
> (make-music
>           'TextScriptEvent
>           'text
>           #{ \markup \line { \with-color #red \arrow-head #X #LEFT ##t 
> \with-color
> #red \draw-line #arg1 \with-color #red \arrow-head #X #RIGHT ##t } #} ))
>
> I would like to refine the code as the arrow ends don't connect
> properly with the central line. Could someone on this list help me?
> I've used the symbol repeatedly in my music and one of the players in
> the ensemble which I'm writing for suggested this, so I'd like to do
> it if possible.

Use \concat instead of \line here?

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user
  • Arrow hack Vivian Barty-Taylor
    • Re: Arrow hack David Kastrup

Reply via email to