Comment #2 on issue 621 by markpolesky: Dynamics should avoid cross-staff
BarLines (e.g. GrandStaff, PianoStaff etc)
http://code.google.com/p/lilypond/issues/detail?id=621
I'm adding the phrase "DynamicText SpanBar collision" to
this post so others can find this issue with a search.
Jay Anderson kindly provided two workarounds (see below),
but these are not general solutions.
I propose adding a user-backend-property called
#'spanbar-padding to work in the X direction in the same way
that the #'staff-padding property works in the Y direction.
Would that be a good way to do it, and if so, how feasible
is it?
Thanks.
- Mark
* * * * * * * * * * * * * * * * * * * *
Jay's workarounds:
1. Use whiteout and some padding:
whitePPPMarkup = \markup {\whiteout \pad-markup #0.5 \dynamic ppp}
whitePPP = #(make-dynamic-script whitePPPMarkup)
\new StaffGroup \relative f' <<
\new Staff { R1 | f2\whitePPP r | }
\new Staff { R1 | f1 | }
2. Left align the dynamic with some offset
\new StaffGroup \relative f' <<
\new Staff {
R1 |
\once \override Staff.DynamicText #'self-alignment-X = #LEFT
\once \override Staff.DynamicText #'X-offset = #'-1.25
f2\ppp r |
}
\new Staff { R1 | f1 | }
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond