lilypond-user
[Top][All Lists]
Advanced

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

Re: \textLengthOn in polyphony and over MultiMeasureRests


From: Urs Liska
Subject: Re: \textLengthOn in polyphony and over MultiMeasureRests
Date: Mon, 30 Jul 2018 15:55:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0



Am 29.07.2018 um 16:35 schrieb Trevor Bača:
Hi Urs, hi Torsten,

I've followed both parts of this thread with interest, especially since I only recently discovered the magic empty chord <> construct.

Urs, Torsten's results for the multimeasure rest example are reproducible like this:

%%% BEGIN %%%

{
    \version "2.19.82"
    \textLengthOn
    \override TextScript.self-alignment-X = #CENTER
    \override TextScript.staff-padding = 3
    c''1
    <> ^ \markup "Invisible empty chord expands measure with MultiMeasureRest."
    R1
    c''
}

%%% END %%%

Output:


The relevant use of <> appears in the docs in ...


... under the "Multi-measure rest markup" subhead at the very bottom of the page. (Clicking http://lilypond.org/doc/v2.19/Documentation/1c/lily-56e2a6af.ly shows the LilyPond input.)



Unfortunately I found out that this doesn't work with consecutive measures (see attached image):

{
  <>^\markup "A pretty long text that should extend the measure"
  R1
  <>^\markup "A pretty long text that should extend the measure"
  R1
}

It sort-of correctly extends the *second* measure, but not the first one

Urs

Attachment: document.png
Description: PNG image


reply via email to

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