David Kastrup <[email protected]> writes: > Janek Warchoł <[email protected]> writes: > >> I don't know how to explain this accurately, but maybe seeing this >> variation will help you get an idea what's happening: >> >> tiempo = #(define-music-function (parser location secs) (string?) >> #{ _\markup { \hspace #-1.6 \lower #3 \sans #secs } #}) >> >> { c''4-\tiempo "1" } > > Since tiempo will never return anything but a "post-event", there is no > point in using define-music-function rather than define-event-function > here. With define-event-function, c''4\tiempo "1" will be acceptable as > well. > > Incidentally: you know that the normal \tempo command can be given just > a string?
Or, indeed, a full markup. > It would probably make sense to base your command on a variation of > that. -- David Kastrup _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
