[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help on improving (kneed-beam tuplet-number) function
From: |
Thomas Morley |
Subject: |
Re: help on improving (kneed-beam tuplet-number) function |
Date: |
Tue, 9 Jul 2013 22:58:24 +0200 |
2013/7/9 Karol Majewski <address@hidden>:
> Hi
>
> Quite some time ago David Nalesnik wrote this amazing function:
>
> http://lsr.dsi.unimi.it/LSR/Snippet?id=646
>
> The problem is that when I apply it to a staff with
>
> {
> fontSize = #-3
> \override StaffSymbol #'staff-space = #(magstep -3)
> }
>
> ... the tuplet numbers are still missplaced. My scheme programming skills are
> poor so I won't even try to improve this function. I'd be thankful if someone
> could do it... Perhaps it's not that difficult.
>
> Best
> KM
Hi Karol,
I suppose you're on 2.16.2, otherwise you would have complained more. ;)
Anyway, attached an improved snippet taking staff-space into account.
Hope it's ok, I did some poor tests only.
Comments in code. Also, a hint to make it work with 2.17.
HTH,
Harm
positioning-tuplet-numbers-close-to-kneed-beams-2-16.ly
Description: Binary data