[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Arrow hack
From: |
David Kastrup |
Subject: |
Re: Arrow hack |
Date: |
Mon, 05 Sep 2016 12:25:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Vivian Barty-Taylor <address@hidden> 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
- Arrow hack, Vivian Barty-Taylor, 2016/09/05
- Re: Arrow hack,
David Kastrup <=