> Hello,
> 
> It should be possible to use an Argpeggio with a custom stencil using 
> elements of arpeggioArrowDown and arpeggioBracket without protrusion.  
> This is beyond my current capabilities unfortunately.


Something like this?

```
\version "2.24.0"

arrow =
#(define-event-function (dir) (ly:dir?)
   #{
     \tweak stencil #ly:text-interface::print
     \tweak text
       #(lambda (grob)
          (let ((start (car (ly:grob-property grob 'positions)))
                (len (ly:grob-property grob 'length 3.0)))
            #{
              \markup \override #`(direction . ,dir) \dir-column {
                \raise #start \draw-line #(cons 0 (* dir len))
                \arrow-head #Y #dir ##t
              }
            #}))
     \arpeggio
   #})

{
  a'\arrow #UP fis'\tweak padding 0 \tweak length 2.5 \arrow #DOWN
}
```

Best,

Jean

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to