Positioning tuplet numbers close to kneed beams: Difference between revisions

Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 5: Line 5:
Two functions are provided. The first moves the number along the Y-axis, and is called like so: <code>\override TupletNumber #'Y-offset = #kneed-beam</code>. The second function centers the number horizontally: <code>\override TupletNumber #'X-offset = #center-on-beam</code>.
Two functions are provided. The first moves the number along the Y-axis, and is called like so: <code>\override TupletNumber #'Y-offset = #kneed-beam</code>. The second function centers the number horizontally: <code>\override TupletNumber #'X-offset = #center-on-beam</code>.


<lilypond version="2.24.0">
<lilypond version="2.24">
%% http://lsr.di.unimi.it/LSR/Item?id=646
%% http://lsr.di.unimi.it/LSR/Item?id=646