lilypond-user
[Top][All Lists]
Advanced

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

(De)Crescendo hairpin touching vertical bar of the last measure in the l


From: Przemysław Pawełczyk
Subject: (De)Crescendo hairpin touching vertical bar of the last measure in the line
Date: Fri, 25 Nov 2011 16:07:45 +0100

Hello.

I'm lilypond newbie (it's my first mail to ML) and looking for a
solution to a bad looking (de)crescendo hairpin ending at the end of
the last measure, i.e. grossly touching vertical bar (in case of many
staves per system). It doesn't happen for non-last-in-line measures.

I believe it should be possible to fix it globally (some override?)
without rewriting dynamics to end (de)crescendo earlier, because in
more complex pieces it would be really cumbersome.

Example (sorry for possibly not the tinest one):

\version "2.14.2"
#(set-default-paper-size "a4" 'portrait)
global = { \key c \major \tempo 4 = 160 }
purr = \relative c' { c4 d8 e16 f32 g64 g g g f32 e16 d8 c4 }
rightHand = \relative c' { \purr | \purr | \purr | \purr | g2 g2 | }
leftHand = \relative c { \clef bass r2 r4 c16 d f e | r2 r4 c16 d f8 |
                                    r2 r4 c16 d8.   | r2 r4 c4 | r1 | }
dynamics = { \override DynamicText #'X-offset = #0
        s2\p\< s2\f\> s2\p\< s2\f\> s2\p\< s2\f\> s2\p\< s2\f\> s\pp
}
\score {
        \new PianoStaff = "piano" <<
                \new Staff = "up" << \global \rightHand >>
                \new Dynamics = "dynamics" \dynamics
                \new Staff = "down" << \global \leftHand >>
        >>
        \layout { }
}

Rendered and converted to image:
http://i.imgur.com/ZQkQA.png

Compare 1st and 3rd measures (bad) with 2nd and 4th (good).

Regards.

P.S. Please add me to CC as I'm not on the list.

-- 
Przemysław 'Przemoc' Pawełczyk
http://przemoc.net/



reply via email to

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