bug-lilypond
[Top][All Lists]
Advanced

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

Re: aligning marks with time signature fails with more than one staff


From: Trevor Bača
Subject: Re: aligning marks with time signature fails with more than one staff
Date: Wed, 13 Feb 2008 12:58:19 -0600

On Feb 11, 2008 11:55 AM, Trevor Bača <address@hidden> wrote:

> Interesting.
>
> No idea what might be causing that ... but it strikes me as bizarrely
> similar to an alignment problem I've been having with the left text of
> trill spanners. I'll post back if I have time to narrow down the trill
> spanner alignment problem and maybe that can give a pointer here ...
>
> On 2/11/08, Andrew Hawryluk <address@hidden> wrote:
> > 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 }
> >        >>
> >        }
> > }
> >
>



Hey Andrew,

My instinct was wrong. Whatever alignment mismatch is causing #579 doesn't
look to be the cause of the spanner alignment problem I just uncovered
today. Here's why:


\version "2.11.39"

\paper { ragged-right = ##t indent = 0}

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


\new Staff { \larghetto c'1}

<<
    \new Staff { \larghetto c'1}
    \new Staff { c'1 }
>>

<<
    \new Staff { \larghetto c'1}
    \new Staff { c'1 }
    \new Staff {
    \once \override TextScript #'self-alignment-X = #RIGHT
      c'1 _ \markup { "FAT TEXT" } }
>>


From which we don't see any additional tempo indication displacement; in the
case of spanner displacement, we definitely *do* see additional displacement
with the inclusion of such a markup.

So, independent issues, I think ...






-- 
Trevor Bača
address@hidden

reply via email to

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