Helge Kruse <helge.kr...@gmx.net> 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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user