On 10/05/13 14:29, Janek Warchoł wrote:
Hi,

2013/5/10 Alberto Simões <al...@alfarrabio.di.uminho.pt>:

On 10/05/13 14:17, Urs Liska wrote:

Am 10.05.2013 15:15, schrieb Alberto Simões:

             The snippet in
             http://lsr.dsi.unimi.it/LSR/__Snippet?id=748

And unfortunately it doesn't work pretty well on cross-staff slurs.
Trying to do it manually, then.

I don't know what you actually need, but have you tried using \shape ?

Basically the slur is crossing some notes I did not want.
Didn't know about \shape. Will try, thank you :)

I'm wondering whether we should advertise \shape more.  It's
tremendously helpful, and yet despite it had been added ~1 year ago
(IIRC) many users don't know about it.

But it doesn't seem easy to use :D

    [...]
    ees8[( d] c4) ~ |
    \shape #'((0.7 . -0.4) (0.5 . -0.4) (0.3 . -0.3) (0 . -0.2)) Slur
    c2( | \change Staff ="lower" \stemUp c2)  \change Staff="upper"|

I was expecting this \shape to affect the slur that starts on c2, on last line. But I get this error instead :-S


piano+voz.ly:105:11: error: wrong type for argument 1. Expecting string, found ((0.7 . -0.4) (0.5 . -0.4) (0.3 . -0.3) (0 . -0.2))
    \shape
           #'((0.7 . -0.4) (0.5 . -0.4) (0.3 . -0.3) (0 . -0.2)) Slur
piano+voz.ly:105:65: error: wrong type for argument 2. Expecting list, found "Slur"
    \shape #'((0.7 . -0.4) (0.5 . -0.4) (0.3 . -0.3) (0 . -0.2))
                                                                 Slur

Will continue trying to find out what is going on. :)

Thank you
Alberto

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

Reply via email to