lilypond-user
[Top][All Lists]
Advanced

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

Re: $nota ^\markup {M} version 2.19 vs 2.21


From: Gianmaria Lari
Subject: Re: $nota ^\markup {M} version 2.19 vs 2.21
Date: Tue, 26 Nov 2019 13:41:58 +0100



On Tue, 26 Nov 2019 at 10:53, Thomas Morley <address@hidden> wrote:
Am Di., 26. Nov. 2019 um 09:30 Uhr schrieb Gianmaria Lari
<address@hidden>:
>
> This code works.
>
> \version "2.21.0"
> test = #(define-scheme-function (nota) (ly:music?)
>   #{
>      $nota ^\markup {M}
>   #})
>
> {\test c}
>
> but it didn't in version 2.19.83. How I should modify it to make it working in 2.19.83?
> Thank you, g.
>

If you ensure `nota´ is a single note or a single event-chord, you could do:
     <>^\markup { M } $nota

Thank you Harm, it works!!

And yes, 'nota' is a single note or a chord :)

Ciao, g.

reply via email to

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