bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

aligning marks with time signature fails with more than one staff


From: Andrew Hawryluk
Subject: aligning marks with time signature fails with more than one staff
Date: Mon, 11 Feb 2008 09:51:07 -0700

This one has me stumped. The initial tempo mark of a piece
should be left-aligned with the time signature. If I comment out the
second Staff context in this example then the alignment is perfect,
but when both staffs are present it shifts the mark to the right
somewhat. (See attached images.)

Any ideas what might cause this effect? I have already tried different
staff start delimiters (StaffGroup, GrandStaff, no delimeter), and the
effect is the same each time.

-AH


\version "2.11.38"

\paper { ragged-right = ##t }

timeAlign = {
       \once \override Score.RehearsalMark #'self-alignment-X = #-1
       \once \override Score.RehearsalMark #'break-align-symbols =
#'(time-signature)
       \once \override Staff.TimeSignature
#'break-align-anchor-alignment = #LEFT
}

larghetto = {\timeAlign \mark \markup \normalsize \bold {Larghetto} }

\score {
       \new PianoStaff {
       <<
               \context Staff = "RH" { \time 6/8 \key e \minor \larghetto b'4}
               \context Staff = "LH" { r8 r8 }
       >>
       }
}

Attachment: onestaff.png
Description: PNG image

Attachment: twostaffs.png
Description: PNG image

Attachment: comparison.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]