Shevek wrote:
> 
> I have no idea why this works, but apparently adding the following two
> lines solves the horizontal spacing problem.
> 
> \override RehearsalMark #'direction = #-1
> \override MetronomeMark #'direction = #-1
> 
Aha! Overriding #'direction causes weird problems in calculating the
vertical extent of systems. The real fix is:

\override RehearsalMark #'Y-offset = #0
\override MetronomeMark #'Y-offset = #0

What I can surmise is that this works because the default Y-offset setting
for RehearsalMark and MetronomeMark is
ly:side-position-interface::y-aligned-side. If RehearsalMarks and
MetronomeMarks are displayed in a separate context, it is no longer
necessary to use the side-position interface.
-- 
View this message in context: 
http://old.nabble.com/Spacing-issue-with-ledger-lines-and-custom-Marks-context-tp33265399p33268574.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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

Reply via email to