[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: consistent height for \rightHandFinger marks
From: John Asmuth <jasmuth () gmail ! com>
Date: 2023-06-24 19:26:51
Message-ID: CAEc0J6ZbJnoOX6mtrp7xtqbHXZ69yFGWhu7Lhx8oTg8GHULkWg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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 <
kieren@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.
[Attachment #5 (text/html)]
<div dir="ltr">Thanks for the reply. Here's a stand-alone file that demonstrates \
what I see.<div><br></div><div>I'd like each arrow to be at the same vertical \
position.</div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Sat, Jun 24, 2023 at 2:24 PM Kieren MacMillan <<a \
href="mailto:kieren@kierenmacmillan.info">kieren@kierenmacmillan.info</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi John,<br> <br>
1. Providing complete code that compiles will encourage more and better responses \
from other list users.<br> <br>
2. When I use this code:<br>
<br>
\version "2.25.2"<br>
<br>
strokeUp = \markup\combine\override #'(thickness . 1.3) \draw-line #'(0 . \
2)\raise #2 \arrow-head #Y #UP ##f<br> strokeDown = \markup\combine\arrow-head #Y \
#DOWN ##f \override #'(thickness . 1.3) \draw-line #'(0 . 2)<br> % Golpe \
symbol :<br> golpe = \markup {<br>
\filled-box #'(0 . 1) #'(0 . 1) #0<br>
\hspace #-1.6<br>
\with-color #white<br>
\filled-box #'(0.15 . 0.85) #'(0.15 . 0.85) #0<br>
}<br>
% Strokes, fingers and golpe command :<br>
RHp = \rightHandFinger #1<br>
RHi = \rightHandFinger #2<br>
RHm = \rightHandFinger #3<br>
RHa = \rightHandFinger #4<br>
RHx = \rightHandFinger #5<br>
RHu = \rightHandFinger \strokeUp<br>
RHd = \rightHandFinger \strokeDown<br>
RHg = \rightHandFinger \golpe<br>
<br>
{ <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 }<br> <br>
I get perfectly-aligned arrows, a.k.a. I can't reproduce the result you're \
seeing.<br> <br>
Cheers,<br>
Kieren.</blockquote></div>
["arrow_example.ly" (text/lilypond-source)]
\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 }
>>
>>
}
["arrow_example.pdf" (application/pdf)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic