Re: using \offset with Slur.positions

2014-04-10 Thread David Nalesnik
Hi, On Tue, Apr 8, 2014 at 7:53 PM, Paul Morris wrote: Looks like this can be simplified as follows. Cheers, -Paul > > \version "2.19.2" > > offsetPositions = > \override Slur.positions = > #(lambda (grob) >(cons > (cdar (ly:slur::calc-control-points grob)) > (cdar (reverse (ly:slu

Re: using \offset with Slur.positions

2014-04-08 Thread Paul Morris
Hi David and Werner, David Nalesnik-2 wrote > \version "2.19.3" > > offsetPositions = > > #(define-music-function (parser location) () > > #{ > > \override Slur.positions = > > #(lambda (grob) > > (cons > > (cdar (ly:slur::calc-control-points grob)) > > (c

Re: using \offset with Slur.positions

2014-04-08 Thread Werner LEMBERG
> Just a little test. I set 'positions to a procedure which derives > it from control-points. Now that there's a procedure, you can > offset against it (with \once \offset or the tweak formulation). > Not that this is anything worthwhile. Very nice, thanks! I strongly suggest that this gets ad

Re: using \offset with Slur.positions

2014-04-08 Thread David Nalesnik
On Tue, Apr 8, 2014 at 7:12 AM, David Nalesnik wrote: > Hi Werner, > > > The reason this won't work is that there is no value or procedure to be > found in define-grobs.scm for Slur.positions to use for a default to offset > against. Could such a procedure be offered? > > BTW, there's a snippet

Re: using \offset with Slur.positions

2014-04-08 Thread David Nalesnik
Hi Werner, On Tue, Apr 8, 2014 at 12:27 AM, Werner LEMBERG wrote: > > [2.19.4] > > > Folks, > > > it seems that \offset can't be applied to `Slur.positions'. Doing > > \relative c' { > \once \offset positions #'(5 . 5) Slur > c'2( c) > } > > I get > > Warnung: the property 'positio

using \offset with Slur.positions

2014-04-07 Thread Werner LEMBERG
[2.19.4] Folks, it seems that \offset can't be applied to `Slur.positions'. Doing \relative c' { \once \offset positions #'(5 . 5) Slur c'2( c) } I get Warnung: the property 'positions of # cannot be offset Doing \relative c' { \once \offset Slur.positions #'(5 . 5) c