Hi lilypond

For guitar scores, I'm applying right hand finger marks using a snippet I
found online, quoted at the end of this message.

When I apply it to a note in a chord, eg

> <e c' e' g' c'' e''\RHd>8

It places a nice little arrow above. Perfect.

However, if I have several hits of the chord in a row, the notes in the
chord and even some properties of the stem put the arrow at different
heights. eg

> <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 |

The last chord's arrow is much lower, starting at the top of the note head.
For the other chords, it put it above the beam. Totally sensible, but:

What I would like is for the arrows to be aligned vertically, all at the
same height. Any tips to make that happen?

- John

Below is the snippet I found to help w/ some flamenco notation.

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

Reply via email to