On Mon, 2025-09-08 at 16:29 -0700, Eric Benson wrote: > I would like to add a footnote at the bottom of a score, something > like > > The F note in measure 29 is sometimes sung as G instead. > > However, the score is often transposed to a different key, so I don't > want to "hard-code" the note name in the footnote. I would like it to > be transposed to the correct key. For example, in this case the score > is written in Ab, but it is transposed to Eb, so the footnote > should read > > The C note in measure 29 is sometimes sung as D instead. > > Is there a simple way to do this with LilyPond?
FWIW this is how Denemo does it: 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< \version "2.25.18" #(define DenemoTransposeStep 4) #(define DenemoTransposeAccidental 0) DenemoGlobalTranspose = #(define-music-function (parser location arg)(ly:music?) #{\transpose c g#arg #}) \header { tagline = \markup {\column{\line{\column{\line{\hspace #-0.5 \scale #'(0.975 . 0.975)\score{ \DenemoGlobalTranspose \new ChordNames { \override ChordName.font-name = #'"Times" c %note-name to insert, in Dutch } \layout{indent=0.0}} } } Major} }} } \transpose c g { c''1 } 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< Richard Shann