Positioning tuplet numbers close to kneed beams: Difference between revisions

Import snippet from LSR
 
m New category
Tags: Mobile edit Mobile web edit
 
(2 intermediate revisions by 2 users not shown)
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


Line 158: Line 158:
[[Category:Keyboards]]
[[Category:Keyboards]]
[[Category:Version-specific]]
[[Category:Version-specific]]
[[Category:Snippet]]