Thomas Morley <thomasmorle...@gmail.com> writes:

> Am Di., 26. Nov. 2019 um 09:30 Uhr schrieb Gianmaria Lari
> <gianmarial...@gmail.com>:
>>
>> 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