Thanks for the reply. Here's a stand-alone file that demonstrates what I
see.

I'd like each arrow to be at the same vertical position.

On Sat, Jun 24, 2023 at 2:24 PM Kieren MacMillan <
kie...@kierenmacmillan.info> wrote:

> Hi John,
>
> 1. Providing complete code that compiles will encourage more and better
> responses from other list users.
>
> 2. When I use this code:
>
> \version "2.25.2"
>
> strokeUp = \markup\combine\override #'(thickness . 1.3) \draw-line #'(0 .
> 2)\raise #2 \arrow-head #Y #UP ##f
> strokeDown = \markup\combine\arrow-head #Y #DOWN ##f \override
> #'(thickness . 1.3) \draw-line #'(0 . 2)
> % Golpe symbol :
> golpe = \markup {
>   \filled-box #'(0 . 1) #'(0 . 1) #0
>   \hspace #-1.6
>   \with-color #white
>   \filled-box #'(0.15 . 0.85) #'(0.15 . 0.85) #0
> }
> % Strokes, fingers and golpe command :
> RHp = \rightHandFinger #1
> RHi = \rightHandFinger #2
> RHm = \rightHandFinger #3
> RHa = \rightHandFinger #4
> RHx = \rightHandFinger #5
> RHu = \rightHandFinger \strokeUp
> RHd = \rightHandFinger \strokeDown
> RHg = \rightHandFinger \golpe
>
> { <e c' e' g' c'' e''\RHd>8 <e c' e' g' c'' e''\RHu> <e c' e' g' c''
> e''\RHd><e c' e' g' c'' e''\RHu> <e c' e' g' c'' e''\RHd>4 }
>
> I get perfectly-aligned arrows, a.k.a. I can’t reproduce the result you’re
> seeing.
>
> Cheers,
> Kieren.
\version "2.20.0"

strokeUp = \markup\combine\override #'(thickness . 1.3) \draw-line #'(0 . 2)\raise #2 \arrow-head #Y #UP ##f
strokeDown = \markup\combine\arrow-head #Y #DOWN ##f \override #'(thickness . 1.3) \draw-line #'(0 . 2)


RHu = \rightHandFinger \strokeUp
RHd = \rightHandFinger \strokeDown


\score {
  \new StaffGroup <<
    <<
      \context Staff {    
        \set strokeFingerOrientations = #'(up)
        <e c' e' g' c'' e''\RHd>8 <e c' e' g' c'' e''\RHu> <e c' e' g' c'' e''\RHd><e c' e' g' c'' e''\RHu> <e c' e' g' c'' e''\RHd>4
      }
    >>
  >>
}

Attachment: arrow_example.pdf
Description: Adobe PDF document

Reply via email to