On Sat, Dec 11, 2010 at 9:43 AM, Mark Polesky <[email protected]> wrote:
> Is there a good *generic* way to prevent DynamicText/SpanBar
> collisions?  I'd like the DynamicText and NoteColumn to move
> to the right as a unit, preferably with a single setting to
> put in a \layout block so as not to have to do this
> repetitively in the music expression.  Any suggestions?

Here's the issue: http://code.google.com/p/lilypond/issues/detail?id=621

Two workarounds (not general solutions):

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 | }
>>

I'd be interested in a general solution also if there's a better
answer out here.

-----Jay

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to