lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: many users don't know about \shape


From: Alberto Simões
Subject: Re: many users don't know about \shape
Date: Fri, 10 May 2013 14:34:07 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5



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

2013/5/10 Alberto Simões <address@hidden>:

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]