lilypond-user
[Top][All Lists]
Advanced

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

Re: Roman numerals in my number sequence


From: Carl Sorensen
Subject: Re: Roman numerals in my number sequence
Date: Thu, 17 Mar 2011 10:42:05 -0600

On 3/17/11 9:37 AM, "Adam Good" <address@hidden> wrote:

> Another tree to bark up and on a similar note, how to set roman
> numerals in Score.markFormatter as rehearsal marks via \mark \default
> ...
> 
> \version "2.12.3"
> 
> \relative c' {
>   \set Score.markFormatter = #(fancy-format #f "address@hidden" 1)
> 
>   \mark \default
>   a b c d
> 
>   \mark \default
>   a b c d
> }
> 
> gives:
> 
> warning: type check for `markFormatter' failed; value `"I."' must be
> of type `procedure'

Right  -- markFormatter needs to be a procedure, so you define it as a
lambda procedure:

\set Score.markFormatter = #(lambda (mark) (fancy-format #f "address@hidden" 
mark))

Haven't tested, but this is the general idea.

Carl




reply via email to

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