2018-02-20 18:42 GMT+01:00 Gianmaria Lari <gianmarial...@gmail.com>: > On 20 February 2018 at 17:10, Robin Bannister <r...@dabble.ch> 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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user