bug-lilypond
[Top][All Lists]
Advanced

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

Dynamic positioning in dynamic context


From: Helge Kruse
Subject: Dynamic positioning in dynamic context
Date: Sun, 04 Jan 2015 10:59:59 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Hello,

I have an improvement request.

The dynamic context has a lot of advantages. Most important it makes a
uniform vertical position of all dynamics in a line. Unfortunately it
doesn't behave with the horizontal spacing.

The following example starts with a spacer rest measure. The \p in the
second measure is placed as expected. But if the dynamic has more width
it collides with the bar. This doesn't happen when I add the dynamic to
the upper staff in the third measure. Here you can find a small space
between the bar and the first note (d).

Can this be improved so that the width of objects in the dynamic context
control the spacing in the staff context?


\version "2.19.15"
\language "deutsch"

global = { \time 3/4 }
upper = \relative c' {
    s2.
    d4\p\( e \acciaccatura{g8} f4->\)
    d4\( e \acciaccatura{g8} f4->\)
    d4\ppp\>\( e \acciaccatura{g8} f4->\)
    s2.\! s
}
dynamic = {
  s2.
  s2.\p
  s2.\ppp\>
  s2.\! s2.
}
lower = { s2. s s s }

\new PianoStaff
<<
  \new Staff  = "Staff_pfUpper" << \global \upper  >>
  \new Dynamics = "Dynamics_pf" << \global \dynamic >>
  \new Staff = "Staff_pfLower"  << \global \lower >>
>>


-- 
PGP Fingerprint: EDCE F8C8 B727 6CC5 7006 05C1 BD3F EADC 8922 1F61

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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