> On 8 Jun 2025, at 20:45, Dirck Nagy <dirckn...@hotmail.com> wrote: > > Dear Lilypond > > I am trying to add a "note value equals note value" in the middle of a piece. > > > I would call this a "durational equivalent" or a "beat unit equivalent". > > Lilypond must have a different name for it, however, because I can not find > this by searching. > > The closest I can find is Lilypond's "Music Notation inside Markup", which > is what i want, but i can not get the code to work. Cutting and pasting the > following from the Lilypond Notation Reference will work: > > ^\markup { > \note {4} #1 > = > \note-by-number #1 #1 #1.5 > } > > > but i do not understand the syntax. This results in "quarter-note = > dotted-half-note with a long stem". > > What do the various # signs control? I get errors whenever i try to change > any of them. > > FYI, I am trying to write "half note = half note", and scale it to about 75% > size. > > Again, this is to go in the middle of the piece, not in the tempo / metronome > field at the beginning of the piece.
Dirck, A tempo/ metronome doesn’t have to appear at the beginning of a piece, it can be perfectly positioned in the middle of a piece like so are you sure what you’re after is not a tempo marking? \version "2.24.0" { c' c' c' c' \tempo \markup { \rhythm { c4 } = \rhythm { c4 } } c' c' c' c' } Note: I had to add an explicit pitch as lilypond didn’t interpret a plain 4 as music yielding error: wrong type for argument 1. Expecting music, found (ly:make-duration 2) \rhythm { 4 } = \rhythm { 4 } without it HTH