[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: predicate for \lyricmode
From: |
David Kastrup |
Subject: |
Re: predicate for \lyricmode |
Date: |
Tue, 20 Mar 2018 17:35:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Urs Liska <address@hidden> writes:
> Hi all,
>
> is there a LilyPond predicate for a \lyricmode expression?
>
> \version "2.19.80"
>
> test =
> #(define-void-function (text)(ly:music?)
> (display text))
>
> text = \lyricmode { a b c }
> \test \text
>
> does work, so ly:music? accepts the lyricmode expression. But is there
> a narrower predicate I can use to expect lyrics to be arguments for a
> function?
No. It's just an ordinary music expression containing different
elements conveniently entered with \lyricmode .
--
David Kastrup