lilypond-devel
[Top][All Lists]
Advanced

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

PianoPedalBracket


From: Heikki Johannes Junes
Subject: PianoPedalBracket
Date: Sat, 25 Jan 2003 12:19:10 +0200 (EET)

It is hard to include the last note in the PianoPedalBracket. Following
the advices at:

http://lilypond.org/development/Documentation/user/out-www/lilypond/Pedals.html#Pedals

I constructed the following example, which shows the bad behaviour:

\score {
    \notes \transpose c' c' {
%       Unfortunately, changing property here make it look bad:
%        o     o     o
%       S.P.__\_/_____|

        \property Staff.PianoPedalBracket \override
                #'shorten-pair = #'(0 . -1.6)
        c1 \sostenutoDown
        d1 \sostenutoUp \sostenutoDown


%       Changing property did not include the last note:
%        o     o     o
%       S.P.__/\____|
%       \property Staff.PianoPedalBracket \override
%               #'shorten-pair = #'(0 . -1.6)

        e1
        \sostenutoUp
    }
}

So, either
    (i)  the last note is included, and there is the bad behaviour (above),
or (ii) the last note is not included, and brackets look beatiful.

Summarizing, one should be able either
    (i) change the property just before \sotesnutoUp or \sostenutoDown,
or (ii) have a property to change the ending bracket angle only and
        document it also.

Greetings,

      Heikki Junes




reply via email to

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