Hi Marc, > -----Original Message----- > From: m...@hohlart.de > Sent: Sun, 21 Jun 2015 10:11:28 +0200 > To: lilypond-user@gnu.org > Subject: Re: adjustment of arc shape according to papersize > > Ok. I played a bit with your example files: > > \version "2.18.2" > #(set-default-paper-size "a4" 'landscape) > \score{ > { > c'1 c' c' c' c' c' c' c' c' c'^"default"( c'' > c' c'') c' c' c' c' c' c' c' c' c' c' \break > > c'1 c' c' c' c' c' c' c' c' > \override Slur.after-line-breaking = #(lambda (grob) > (let* ((layout (ly:grob-layout grob)) > (paper-width (ly:output-def-lookup layout > 'paper-width))) > > (if (> paper-width 100) ;; !! > #{ \shape #'((0.0 . -2.0) (0.0 . 1.0) (0.0 . 0.0) > (0.0 . > 0.0)) Slur #} > #{ \shape #'(((0.0 . 0.0) (0.0 . 0.0) (0.0 . 0.0) > (0.0 . > 1.0)) > ((0.0 . 5.0) (0.0 . 3.0) (0.0 . 0.5) > (0.0 . > 0.0))) Slur #} > ))) > c'^"image of purpose"( c'' > c' c'') c' c' c' c' c' c' c' c' c' c' > } > } > > You have to change the value of 100 to your needs (I think lilypond > uses staff-spaces as units here). > > HTH, > > Marc
Thanks for your reply. But, hmm..., my copy has no effect: http://lilybin.com/57gfma/5 I've mistaken anywhere? Although I've not change the threshold value, some effect should appear. Thanks Venus' Wink ____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Check it out at http://www.inbox.com/earth _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user