Dear community, I have to typeset a piece, that makes use of controlled aleatorism, in the way like composers as Lutoslaswki have done it. I have the problem, that the arrow at the end of the textspanner occurs two times, at the end of the first and at the beginning of the next line.
How can I solve this problem? Here is the snippet: %%%%%%%%%%%% begin %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \version "2.12.2" #(define (repOn-callback callback) (define (repOn-stencil grob) (let* ((dot (ly:font-get-glyph (ly:grob-default-font grob) "dots.dot"))
(s (callback grob)) (sx (cons 0 0)) (sy (cons 0 0)) (dotx (ly:stencil-extent dot 0)) (doty (ly:stencil-extent dot 1)) (yadj (/ (interval-length doty) 2))
(xadj (/ (interval-length dotx) 2))) (set! s (ly:stencil-add (ly:stencil-translate dot (cons (- 0 xadj) 0.5)) (ly:stencil-translate dot (cons (- 0 xadj) -0.5)) (ly:make-stencil (list 'draw-line 0.12 -0.5 2 -0.5 -2) '(-0.55 .
0.45) '(2 . -2)) (ly:make-stencil (list 'draw-line 0.12 -0.5 2 0 3) '(-0.55 . 0.45) '(2 . -2)) (ly:make-stencil (list 'draw-line 0.12 -0.5 -2 0 -3) '(-0.55 .
0.45) '(2 . -2)) (ly:make-stencil (list 'draw-line 0.24 -0.88 2 -0.38 3) '(-0.55 . 0.45) '(2 . -2)) (ly:make-stencil (list 'draw-line 0.24 -0.88 -2 -0.38 -3) '(-0.55
. 0.45) '(2 . -2)) (ly:make-stencil (list 'round-filled-box 1 -0.76 2 2 0) '(-1 . -1.1) '(2 . -2)) )) (ly:make-stencil (ly:stencil-expr (ly:stencil-translate s (cons 1 0)) ) sx
sy) )) repOn-stencil)