Re: Function for tweaks

2018-10-06 Thread David Kastrup
Helge Kruse 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,

Re: Function for tweaks

2018-10-06 Thread Helge Kruse
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 awa

Re: Function for tweaks

2018-10-06 Thread Lukas-Fabian Moser
Hi Helge, I want to save typing and it's tedious to write the complete tweak each time. But the Y size must be adapted each time. Therefore a function is necessary to change the current required value that is 6 in the example. I've experimented with define-markup-command and define-music-functi

Function for tweaks

2018-10-06 Thread Helge Kruse
Hi, I want to use kneed beams for my score. These look ugly if the system system distance is too small. Therefor I extend the spacing as in the following example. Removing the percent character gives a reasonable spacing. \version "2.18.2" \language "deutsch" staffUpper = { \change Staff="upper"