Jean Abou Samra <j...@abou-samra.fr> writes: > Le 17/12/2022 à 18:53, Paul Scott a écrit : >> A typical indication of rhythmic equivalence is to mark dotted >> quarter = quarter or it's many variations. >> >> The following is a simple modification of an example in 2.24.0 NR >> 1.3.3: Metronome marks. I would think the part I added would give >> me the notation: quarter = dotted quarter. >> >> Any ideas? >> > > The problem and the solution are mentioned in the documentation. > > https://lilypond.org/doc/v2.24/Documentation/notation/music
Frankly, I'd expect this use case to be frequent enough that there is no point in documenting rather than fixing it. Using a `duration-or-music?` predicate along with a line of the kind (if (ly:duration? music) (set! music (make-music 'NoteEvent 'duration music))) at the start of the markup command definition should do the trick. -- David Kastrup