bug-lilypond
[Top][All Lists]
Advanced

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

DynamicText attached to spacer rest not correctly aligned


From: Xavier Scheuer
Subject: DynamicText attached to spacer rest not correctly aligned
Date: Thu, 1 Sep 2011 15:31:34 +0200

Hello,

Since issue #620 is now fixed DynamicTextSpanner and Hairpin are now
correctly aligned when attached to spacer rests (e.g. in piano centered
dynamics).
It would be nice if DynamicText was also correctly aligned, which is
not the case now.  I thought it was already reported but I cannot find
it on the tracker.

Here is a minimal example showing the difference of horizontal
alignment between dynamics attached to notes and attached to spacer
rests (within a Dynamics context).

Cheers,
Xavier

%%%% Snippet

\version "2.15.9"

\score {
  <<
    \new PianoStaff <<
      \new Staff = "up" {
        \clef treble
        \relative c' {
          c4\p c c\mp c |
          c4\mf c c\f c |
          <<
            \repeat unfold 8 c4
            \new Dynamics = "dynamics" \with {
              alignBelowContext = "up"
            } {
              s4\p s s\mp s |
              s4\mf s s\f s
            }
          >>
        }
      }
      \new Staff = "down" {
        \clef bass
        \repeat unfold 16 c4
      }
    >>
  >>
}

%%%% End of snippet

-- 
Xavier Scheuer <address@hidden>



reply via email to

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