User-defined time signatures: Difference between revisions
Appearance
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 1: | Line 1: | ||
New time signature styles can be defined. The time signature in the second measure should be upside down in both staves. | New time signature styles can be defined. The time signature in the second measure should be upside down in both staves. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
#(add-simple-time-signature-style 'topsy-turvy | #(add-simple-time-signature-style 'topsy-turvy | ||
(lambda (fraction) | (lambda (fraction) | ||
Revision as of 18:57, 16 November 2025
New time signature styles can be defined. The time signature in the second measure should be upside down in both staves.
\version "2.24"
#(add-simple-time-signature-style 'topsy-turvy
(lambda (fraction)
(make-rotate-markup 180 (make-compound-meter-markup fraction))))
<<
\new Staff {
\time 3/4 f'2.
\override Score.TimeSignature.style = #'topsy-turvy
\time 3/4 R2. \bar "|."
}
\new Staff {
R2. e''
}
>>