Tempo (metronome) marks with approximation sign: Difference between revisions
Appearance
m New category Tags: Mobile edit Mobile web edit |
Account for LilyPond change _ → G_ |
||
| Line 93: | Line 93: | ||
(ly:error "error in call of define-translator-property")) | (ly:error "error in call of define-translator-property")) | ||
(if (not (equal? (object-property symbol 'translation-doc) #f)) | (if (not (equal? (object-property symbol 'translation-doc) #f)) | ||
(ly:error ( | (ly:error (G_ "symbol ~S redefined") symbol)) | ||
(set-object-property! symbol 'translation-type? type?) | (set-object-property! symbol 'translation-type? type?) | ||
Latest revision as of 16:42, 4 December 2025
If you want to display an approximation sign in your (numeric) tempo marks, or if you want to display the tempo number in a different color, or if you want to hide the parentheses in your combined tempo mark (both name and number), this example demonstrates how the translation functions found in .../scm/translation-functions.scm can be adopted, doing it in a tunable way with new optional context properties.