Hi Kieren, thanks for taking a look!

On 29.03.2018 01:52, Kieren MacMillan wrote:
> Hi Lucas,
>
>> I did find one workaround, and I’ll describe it just in case someone else 
>> with the same problem finds this email later, but it is horrible:
> Here’s another… though I’m not sure it’s much less horrible:
>
> %%%  SNIPPET ENDS
> \version "2.19.80"
>
> stuff = {
>   <b'-\tweak Slur.extra-offset #'(0 . -0.4) \=1 _( f''-\tweak 
> Slur.extra-offset #'(0 . 0.6) \=2 ^(>16 <c''\=1 ) e'' \=2 )>8
>   <b'-\tweak Slur.extra-offset #'(0 . -0.4) \=1 _( f''-\tweak 
> Slur.extra-offset #'(0 . 0.6) \=2 ^(>16 <c''\=1 ) e'' \=2 )>16
>   <b'-\tweak Slur.extra-offset #'(0 . -0.4) \=1 _( f''-\tweak 
> Slur.extra-offset #'(0 . 0.6) \=2 ^(>16 <c''\=1 ) e'' \=2 )>8
> }
>
> \score {
>   \stuff
> }
> %%%  SNIPPET BEGINS
>
> Fortunately, this could relatively easily be function-ized… And likely, the 
> offset could be replaced with something automagic (instead of 
> trial-and-error). So maybe it’s a winner after all?
>
> Hope this helps!
> Kieren.
Hm, is this \=1 thing a new feature in the development version? I can’t
get it to work on 2.18.2.

I’m guessing that you’re adding slurs to the individual notes of a chord
(and the \=1, \=2 is probably so that you can distinguish which rparen
closes which slur), and then you have two objects that can be tweaked
individually. Which would be a lot less hacky :)

One difference to my horrible hack (I think) is that in this case you’re
shifting a slur that was aligned to a beam, not to the note heads, so I
assume the slur will not follow the slight upwards slope from the b to
the c. (You could probably emulate that with some more tweaks or \shape.)

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

Reply via email to