lilypond-user
[Top][All Lists]
Advanced

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

Re: Produce \header in function


From: Павел
Subject: Re: Produce \header in function
Date: Fri, 19 Nov 2021 15:11:43 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0

Thanks David! It works.

19.11.2021 14:24, David Kastrup пишет:
Павел <budanov.pavel@gmail.com> writes:

Hello lilyponders! I want to produce \header block in my function, to
use my function instead \header block. But I can't seem to find the
correct syntax for this. It doesn't work like that:

genheader = #(define-music-function
     (mystring) ( string? ) #{
         \header { piece = \markup\bold #mystring }
     #})
A header is not music.  Use define-scheme-function instead.




reply via email to

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