lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stopwatch time in markup


From: Mark Polesky
Subject: Re: Stopwatch time in markup
Date: Fri, 23 Jan 2009 14:59:48 -0800 (PST)

James E. Bailey wrote:

> Wow, that took me a minute to figure out. The quotes around 33" are  
> the problem. That makes it separate text. Putting the quotes around  
> the entire time fixes it.
> {
>     \mark \markup \rounded-box {
>        \small {
>           "4'33\""
>        }
>     } c'2
> }

Might as well use the proper characters for minutes and seconds...

- Mark

________________________________________________________

\version "2.12.1"

min =
\markup {
  %% 2032 = PRIME
  #(ly:export (format "~a" (ly:wide-char->utf-8 #x2032)))
}
sec =
\markup {
  %% 2033 = DOUBLE PRIME
  #(ly:export (format "~a" (ly:wide-char->utf-8 #x2033)))
}

{
  \mark \markup \rounded-box {
    \small \concat { 4 \min 33 \sec }
  } c'2
}


      

Attachment: stopwatch-time.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]