[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stopwatch time in markup
From: |
Wilbert Berendsen |
Subject: |
Re: Stopwatch time in markup |
Date: |
Mon, 26 Jan 2009 10:40:11 +0100 |
User-agent: |
KMail/1.10.4 (Linux/2.6.27-7-generic; KDE/4.1.4; i686; ; ) |
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/
- Re: Stopwatch time in markup, (continued)
Re: Stopwatch time in markup, Mark Polesky, 2009/01/24
Re: Stopwatch time in markup, Tim Reeves, 2009/01/26
Re: Stopwatch time in markup, Carl D. Sorensen, 2009/01/26