[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to tweak X-Y-offset of left Fingerings in a chord
From: |
Thomas Morley |
Subject: |
Re: How to tweak X-Y-offset of left Fingerings in a chord |
Date: |
Wed, 14 Apr 2021 11:50:36 +0200 |
Am Mi., 14. Apr. 2021 um 11:47 Uhr schrieb Jean Abou Samra <jean@abou-samra.fr>:
>
>
> Le 14/04/2021 à 10:30, Jean Abou Samra a écrit :
> >
> >
> > For Y-offset, I haven't found a workaround yet.
> >
>
> Okay, this does the job:
>
> \version "2.22.0"
>
> {
> \set fingeringOrientations = #'(left)
> \once \override Staff.FingeringColumn.positioning-done =
> #(lambda (grob)
> (let* ((fingering-array (ly:grob-object grob 'fingerings))
> (fingerings (ly:grob-array->list fingering-array)))
> (for-each
> (lambda (fingering x y)
> (ly:grob-translate-axis! fingering x X)
> (ly:grob-translate-axis! fingering y Y))
> fingerings
> '(1 -0.5)
> '(5 -1))
> #t))
> <c'-3 e'-2>
> }
>
> Puzzled,
> Jean
>
You were faster :)
Thanks,
Harm