lilypond-user
[Top][All Lists]
Advanced

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

Re: Function for tweaks


From: Helge Kruse
Subject: Re: Function for tweaks
Date: Sat, 6 Oct 2018 20:50:59 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Am 06.10.2018 um 12:32 schrieb Lukas-Fabian Moser:
> makeSpace = #(define-event-function (size) (number?)
>                #{
>                  -\tweak #'stencil #(ly:make-stencil '() '(0 . 0.1) `(0
> . ,size) ) _""
>                #}
>                )

Hi Lukas,

this works for me. I wasn't aware of the event function.

One remark: This construct doesn't work with Lilypond 2.18. You get an
error:
C:/Program Files
(x86)/Lilypond/usr/share/lilypond/current/scm/ly-syntax-constructors.scm:56:23:Wrong
number of arguments to #<procedure #f(size)>

So I have to switch to the unstable version 2.19.

Thanks
Helge




reply via email to

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