"Karol Majewski" <karo...@wp.pl> writes:

> Although I know nothing about scheme, I've managed to slim down this 
> function, so that there are no optional arguments. Now I'll try to find out 
> why it doesn't work for DynamicText grob.
>
> Harm, thanks in advance for any hints. Perhaps we can mix your function with 
> flexible-stencil-whiteout (see my first post).
>
> %%%%%%%%%%%%%%%%%%%%%
>
> \version "2.19.5"
>
> moreWhiteout =
> #(define-music-function
>   (parser location adds)
>   (pair?)
>   (define
>     (interval-add iv-1 iv-2)
>     (cons
>       (+
>         (car iv-1)
>         (car iv-2))
>       (+
>         (cdr iv-1)
>         (cdr iv-2))))

That's a misnomer since it does not "add" intervals.  Functionally, it
is the same as offset-add, or (cons-map + iv-1 iv-2).

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to