Menu

#631 Dynamics collide with cross-staff barlines when attached to skips

Verified
nobody
None
Collision
2011-08-21
2008-06-05
Anonymous
No

Originally created by: *anonymous

Originally created by: v.villenave

% When the dynamics have their own Voice, they tend to collide
% with barlines. Adding the Bar_engraver doesn't help.

\version "2.11.47"
upper = \relative c'' {
a4 b c d |
e4 e e e |
}

lower = \relative c {
\clef bass
a2 c |
a1 |
}

dynamics = {
s1\fff\> |
s1\!\pp |
}

% When the dynamics and music are in the same voice, the bar lines are avoided:
\new GrandStaff <<
\new Staff \new Voice << \upper \dynamics >>
\new Staff \lower
>>

% When the dynamics is in a separate Voice, you get a collision
% with the bar line. Bug!
\new GrandStaff <<
\new Staff << \new Voice \upper \new Voice \dynamics >>
\new Staff \lower
>>

Related

Issues: #621

Discussion

  • Google Importer

    Google Importer - 2010-10-10

    Originally posted by: v.villenave

    Here's a better example.

    \version "2.13.36"

    music = { \repeat unfold 4 c''1 }

    \new StaffGroup <<
      \new Staff <<
        {s2.\< s4\fff }
        \\ \music >>
      \new Staff \music
    >>

    Neil had something to say on this subject:
    http://lists.gnu.org/archive/html/lilypond-devel/2010-03/msg00189.html
    "
    In theory, Separating_line_group_engraver is supposed to prevent this,
    but it doesn't work for objects attached to skips (hence why the same
    problem rears its ugly head in the Dynamics context).
    "

    I'm updating the title accordingly.

    Summary: Dynamics collide with cross-staff barlines when attached to skips
    Owner: ---
    Labels: Collision

     
  • Google Importer

    Google Importer - 2011-01-27

    Originally posted by: chris...@gmail.com

    I've had something similar to this, but the dynamics were too far to the left and were colliding with the bar before it. For some reason, it was fixed with this line:

        \override DynamicText #'X-offset = #0.0

     
  • Google Importer

    Google Importer - 2011-02-27

    Originally posted by: k-ohara5...@oco.net

    Workaround :
      \override Score.DynamicText #'extra-spacing-width = #'(-0.5 . 0.5)
    See issue 621. (There, I suggested a simple =##f, but the slanted fff seems to need just a bit more space than is built-in to the font.)

     
  • Google Importer

    Google Importer - 2011-07-29

    Originally posted by: k-ohara5...@oco.net

    (No comment was entered for this change.)

    Owner: ---

     
  • Google Importer

    Google Importer - 2011-07-29

    Originally posted by: k-ohara5...@oco.net

    (No comment was entered for this change.)

    Labels: -Patch-review

     
  • Google Importer

    Google Importer - 2011-08-17

    Originally posted by: k-ohara5...@oco.net

    (No comment was entered for this change.)

    Mergedinto: 621
    Status: Duplicate

     
  • Google Importer

    Google Importer - 2011-08-18

    Originally posted by: PhilEHol...@googlemail.com

    Keith - are you claiming this in 2.15.9?

     
  • Google Importer

    Google Importer - 2011-08-18

    Originally posted by: k-ohara5...@oco.net

    > claiming this in 2.15.9?

    No.  We rejected the proposed fix, for reasons listed under issue 621.

    I am claiming that this is a Duplicate of issue 621, mainly to direct readers there.

     
  • Google Importer

    Google Importer - 2011-08-21

    Originally posted by: PhilEHol...@googlemail.com

    (No comment was entered for this change.)

    Mergedinto:
    Status: Verified