lilypond-user
[Top][All Lists]
Advanced

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

Re: Extending Lilypond's chord vocabulary PLUS Help on command definitio


From: David Kastrup
Subject: Re: Extending Lilypond's chord vocabulary PLUS Help on command definition
Date: Wed, 09 Nov 2011 18:45:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

Carl Sorensen <address@hidden> writes:

> jcRaise = 
> #(define-markup-function (props layout myMarkup) (ly:markup?)
>
>    (interpret-markup layout props
>    #{
>       \markup \raise #1.5 {\tiny $myMarkup}
>     #}))
>
> I haven't tested it, but it should work.  See
>
> http://lilypond.org/doc/v2.14/Documentation/extending/new-markup-command-de
> finition

For some inscrutable reason, the predicate is just markup? instead of
ly:markup?.

-- 
David Kastrup




reply via email to

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