Op zondag 25 januari 2009, schreef Tom Hall: > WOuld you know how to add to the func a way to pad a zero > in case of situations like the above?
timestamp = #(define-music-function (parser location minutes seconds) (number? number?) (let ((min (number->string minutes)) (sec (format #f "~2,'0d" seconds))) #{ \mark \markup \rounded-box \small \concat { $min \char ##x2032 $sec \char ##x2033 } #})) { c'1 \timestamp #4 #3 c' } best regards, Wilbert Berendsen -- Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/ _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user