Important: to work properly, this method must be used with manual beaming.
Two functions are provided. The first moves the number along the Y-axis, and is called like so: \override TupletNumber #'Y-offset = #kneed-beam
. The second function centers the number horizontally: \override TupletNumber #'X-offset = #center-on-beam
.