Hi Carl (et al.):

The effect of \textLengthOn is to make the first musical moment
take as much horizontal space as the markup.

Okay, this brings up a question I've had for a while…

In multi-instrument scores, I would like to avoid collisions in my markups (especially metronome markings) — see snippet, below. What I'd like to do is have Lilypond automatically stretch measures (if necessary) to avoid such collisions, like I've done (manually) in the second \score block.

Does anyone know a way of doing that? The problem with \textLengthOn (or equivalent things) is that the *first* measure (moment) *ONLY* is stretched, which results in ugly scores (parts).

Thanks,
Kieren.
_______________________

\version "2.11.55"

\layout
{
        \context
        {
                \Score
                \override RehearsalMark #'self-alignment-X = #-1
                \override RehearsalMark #'padding = #3
        }
}

longMark = \mark \markup "This is my really long metronome mark"
anotherMark = \mark \markup "Here's the next marking"

music =
{
\tag #'workaround { \override Score.MultiMeasureRest #'minimum- length = #19 }
        \time 4/4 \longMark R1
        \time 3/2 R2*3
        \time 6/8 R8*6
        \tag #'workaround { \revert Score.MultiMeasureRest #'minimum-length }
        \time 4/4 \anotherMark R1*6
}

\score
{
        \removeWithTag #'workaround \music
}

\markup \fill-line { "" }

\score
{
        \keepWithTag #'workaround \music
}



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

Reply via email to