[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Function for tweaks
From: |
David Kastrup |
Subject: |
Re: Function for tweaks |
Date: |
Sat, 06 Oct 2018 21:16:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Helge Kruse <address@hidden> writes:
> 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.
makeSpace = #(define-event-function (parser location size) (number?)
...
--
David Kastrup