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: David Kastrup
Subject: Re: $nota ^\markup {M} version 2.19 vs 2.21
Date: Tue, 26 Nov 2019 14:14:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> 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}
>>   #})

Ugh.  Why a scheme function?

>> {\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

Like in

test = <>^\markup { M }

There is no need for a function at all using this approach.

-- 
David Kastrup



reply via email to

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