lilypond-user
[Top][All Lists]
Advanced

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

miss-aligned dynamic in presence of chords with reverse noteheads


From: Richard Shann
Subject: miss-aligned dynamic in presence of chords with reverse noteheads
Date: Sat, 04 Jan 2025 15:17:25 +0000
User-agent: Evolution 3.46.4-2


In a large orchestral piece it was noticed that a dynamic under a note
was slightly displaced to the right. It turned out that this was
because many staffs below there was a chord with notes on both sides of
the stem (because only a semitone apart).
The dynamic was placed in a dynamics staff as there were hairpins that
it had to align with.
Here is an MWE which illustrates the problem.


8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
\version "2.24"
\score { 
          <<
            \new Staff 
             {g''4 r8
              d''  % \sf
              d''2   } 
          
            \new Dynamics \with {  \override VerticalAxisGroup.staff-affinity = 
#UP 
             }  
              { r4.
                r8\sf 
                r2 }
%many more staffs follow in the original then:
            \new Staff   {    g'4 e'8 <c '
                                        d' %with this note commented out all is 
well
                                         > r2  } 
          >>
       } 
8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><

Any suggestions would be most welcome!
Richard Shann




reply via email to

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