[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fingering
From: |
Thomas Morley |
Subject: |
Re: fingering |
Date: |
Tue, 20 Feb 2018 22:30:32 +0100 |
2018-02-20 18:42 GMT+01:00 Gianmaria Lari <address@hidden>:
> On 20 February 2018 at 17:10, Robin Bannister <address@hidden> wrote:
>>
>> DJF wrote:
>>
>>> perhaps someone else knows if it’s possible to control the vertical
>>> spacing within the staff;
>>
>>
>> You can splay it out using Y-offset:
>> <d'-\tweak Y-offset 0.7 \4 b \3 g-\tweak Y-offset -0.9 -2 >1
>
>
> Do you know Robin, if there is any way to avoid the "\tweak ..." and make
> Lilypond automatically spacing the fingering/stringNumber elements?
>
> Thank you, g.
How about:
\version "2.19.81"
circledFingerStil =
#(lambda (grob)
(circle-stencil (ly:text-interface::print grob) 0.1 0.1))
\fixed c' {
\set fingeringOrientations = #'(left)
<g-\tweak stencil \circledFingerStil -2
b-\tweak stencil \circledFingerStil-3
d'-4>1
\override Fingering.stencil = \circledFingerStil
<g-2 b-3 d'-4>1
}
There _is_ some buit-in code which avoids collisions of Fingering, but
it does not work for StringNumbers or a mix of Fingerings and
StringNumbers, afaik.
Cheers,
Harm
- fingering, Gianmaria Lari, 2018/02/20
- Re: fingering, Andrew Bernard, 2018/02/20
- Re: fingering, Gianmaria Lari, 2018/02/20
- Re: fingering, DJF, 2018/02/20
- Re: fingering, Robin Bannister, 2018/02/20
- Re: fingering, Gianmaria Lari, 2018/02/20
- Re: fingering, Gianmaria Lari, 2018/02/20
- Re: fingering,
Thomas Morley <=
- Re: fingering, Gianmaria Lari, 2018/02/21
- Re: fingering, Thomas Morley, 2018/02/21
- Re: fingering, Gianmaria Lari, 2018/02/21
- Re: fingering, Thomas Morley, 2018/02/21
- Re: fingering, Gianmaria Lari, 2018/02/22
- Re: fingering, Thomas Morley, 2018/02/22
- Re: fingering, Thomas Morley, 2018/02/22
- Re: fingering, Gianmaria Lari, 2018/02/23