lilypond-user
[Top][All Lists]
Advanced

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

Re: Suppressing TextSpanner #'left #'text after line breaking?


From: Trevor Bača
Subject: Re: Suppressing TextSpanner #'left #'text after line breaking?
Date: Tue, 5 Jun 2007 17:05:34 -0500

On 4/29/07, Trevor Bača <address@hidden> wrote:
Hi,

In the following snippet, the text "start" appears both at the start
of the text spanner and at the start of the following line:

%%% BEGIN %%%

\version "2.11.20"

\new Staff {
   \override TextSpanner #'bound-details #'left #'text = \markup { "start" }
   c'1 \startTextSpan
   \break
   c'1
   c'1 \stopTextSpan
}

%%% END %%%


Question: how do you suppress the after the line break such that
"start" appears only at the start of the text spanner?


Answer: use TextSpanner #'bound-details #'left together with
TextSpanner #'bound-details #'left-broken.

%%% BEGIN %%%

\version "2.11.25"

\new Staff {
  \override TextSpanner #'bound-details #'left #'text = \markup { "start" }
  \override TextSpanner #'bound-details #'left-broken #'text = ##f
  c'1 \startTextSpan
  \break
  c'1
  c'1 \stopTextSpan
}

%%% END %%%

Answer taken from issue #363 comment #1.


--
Trevor Bača
address@hidden

Attachment: suppress-text-broken.png
Description: PNG image


reply via email to

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