lilypond-user
[Top][All Lists]
Advanced

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

Re: function does not replicate \markup?


From: David Kastrup
Subject: Re: function does not replicate \markup?
Date: Sun, 24 Jun 2012 12:41:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> Then you should not be using a mark.  If you want to be using a
> textscript, this is actually more fun to do with current versions of
> LilyPond (2.15.not-too-old). It would look something like
>
> fN = #(define-event-function (parser location fretp ) (string?) 
>     #{ 
>         _\markup { \box \italic \small #fretp } 
>     #})

Actually, no point to use a string? predicate then: markup? is a
superset and more versatile, and it will accept ordinary strings just
fine as well.

-- 
David Kastrup




reply via email to

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