|
From: | Jean Abou Samra |
Subject: | Re: Vertical arrows next to note |
Date: | Thu, 09 Feb 2023 15:31:09 +0100 |
User-agent: | Evolution 3.46.3 (3.46.3-1.fc37) |
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
signature.asc
Description: This is a digitally signed message part
[Prev in Thread] | Current Thread | [Next in Thread] |