Changing the tuplet number: Difference between revisions
Appearance
Import snippet from LSR |
m New category Tags: Mobile edit Mobile web edit |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
Alternatively, ''num'':''den'' of the tuplet number may be printed, or the tuplet number may be suppressed altogether. | Alternatively, ''num'':''den'' of the tuplet number may be printed, or the tuplet number may be suppressed altogether. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
\relative c'' { | \relative c'' { | ||
\tuplet 3/2 { c8 c c } | \tuplet 3/2 { c8 c c } | ||
| Line 16: | Line 16: | ||
[[Category:Rhythms]] | [[Category:Rhythms]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:16, 21 November 2025
By default, only the numerator of the tuplet number is printed over the tuplet bracket, i.e., the numerator of the argument to the \tuplet command.
Alternatively, num:den of the tuplet number may be printed, or the tuplet number may be suppressed altogether.
\version "2.24"
\relative c'' {
\tuplet 3/2 { c8 c c }
\tuplet 3/2 { c8 c c }
\override TupletNumber.text = #tuplet-number::calc-fraction-text
\tuplet 3/2 { c8 c c }
\omit TupletNumber
\tuplet 3/2 { c8 c c }
}