lilypond-user
[Top][All Lists]
Advanced

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

Re: mark text (not markup) to fill Rest bars?


From: Thomas Morley
Subject: Re: mark text (not markup) to fill Rest bars?
Date: Tue, 6 Dec 2011 00:55:08 +0100

Hi Rutger,

2011/12/5 Rutger Hofman <address@hidden>
On 11/30/2011 03:36 PM, address@hidden wrote:

On Nov 30, 2011, at 3:33 PM, Rutger Hofman wrote:

Good afternoon list,

in http://www.lilypond.org/doc/v2.14/Documentation/notation/writing-rests#index-_005ctextLengthOn , the section on "Multi-measure rest markup", I find a method to have empty bars (Rest bars) extend to the length of the ^\markup{ ... bla ... }. I would like to have the same behaviour for \mark \markup{ ... bla ... }. Is that possible?

Rutger Hofman
Amsterdam
Lilypond 2.14.2


\relative c' {
 \override Score . RehearsalMark #'extra-spacing-width = #'(0 . 0)
 \override Score . RehearsalMark #'self-alignment-X = #LEFT
 \mark \markup "foo bar foo bar foo bar foo bar foo bar foo bar"
 R1
}

Cheers,
MS

Thanks, this works well for multimeasure rests. But I would also like the same mark to work for another staff that has music in it. With these overrides, that looks weird: the markup is stretched over an empty space, the music starts after it.

Is there some trickery to find out whether the mark has rests following it?
Or is there some trickery to selectively disable these overrides by hand, e.g. when there are notes?
Ultimately, I would like to be able to specify where in time the markup ends -- that would give lots of control.

Rutger

perhaps I don't understand, but is the attached PNG not what you want?

\version "2.14.2"

>\relative c' {
 \override Score . RehearsalMark #'extra-spacing-width = #'(0 . 0)
 \override Score . RehearsalMark #'self-alignment-X = #LEFT
 \mark \markup "foo bar foo bar foo bar foo bar foo bar foo bar"
 R1
}

two =
\relative c' {
 \mark \markup "foo bar foo bar foo bar foo bar foo bar foo bar"
 c4 d e f
}

<<
\new Staff \one
\new Staff \two
>>

Cheers,
  Harm

Attachment: atest-04.png
Description: PNG image


reply via email to

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