James Harkins <jamshark70 <at> gmail.com> writes:

> In this minimal example, there's a collision between the rehearsal and
> tempo marks. LP resolves the collision by pushing the rehearsal mark
> rather far above the staff. 

>   % No discernible effect, even with much larger numbers
>   \override Score.RehearsalMark #'extra-spacing-width = #'(+inf.0 . -5.0)
> 
> What I'd really like is for
> LP to resolve the conflict by pushing the tempo mark to the right just
> enough to avoid the rehearsal mark's horizontal padding.
> 

You were on the right track; both MetronomeMark and RehearsalMark need
to have space reserved.  I always use the set of overrides below.  
(For some reason they don't work for Kieren, however, so he prefers
composing all his tempo marks as text markup 
<http://lists.gnu.org/archive/html/lilypond-user/2013-02/msg00201.html> )


\layout { \context { \Score
% \override Clef #'break-align-anchor-alignment = #RIGHT % marks right of clef
  \override MetronomeMark #'extra-spacing-width = #'(-0.5 . 0.5)
  \override MetronomeMark #'Y-offset = #3
  \override MetronomeMark #'outside-staff-padding = #0.8
  \override MetronomeMark #'break-align-symbols =
   #'(time-signature key-signature)
  \override MetronomeMark #'non-break-align-symbols =
   #'(paper-column-interface)
  \override RehearsalMark #'extra-spacing-width = #'(-0.5 . 0.5)
  \override RehearsalMark #'Y-offset = #0
  \override RehearsalMark #'outside-staff-padding = #0.8
 } }


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to