lilypond-user
[Top][All Lists]
Advanced

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

Re: TextSpanner + \break


From: David Bobroff
Subject: Re: TextSpanner + \break
Date: Sun, 16 Mar 2008 09:55:34 +0000
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

Yes, that's it. Obviously it makes sense to use the right tool for the job. Thanks!

-David

Trevor Daniels wrote:
Hi David

I don't think a text spanner will do what you want, but the
following might:

#'ly:set-point-and-click ##f
stuff = \relative {
  \dynamicUp
  \set decrescendoSpanner = #'dashed-line
  c1 \mf \>
  \break
  c1 \pp
}

\score {
  \stuff
}

-----Original Message-----
From: address@hidden
[mailto:lilypond-user-bounces+t.daniels=treda.co.u
address@hidden Behalf Of
David Bobroff
Sent: 15 March 2008 23:59
To: Lilypond-User
Subject: TextSpanner + \break


I want a TextSpanner to go over a line break.
I'm not getting it.
Here's a short piec of *.ly code:

%%%%%%%%%%%%%%%%%%%%%%
\version "2.11.42"

#'ly:set-point-and-click ##f
stuff = \relative {
        \override TextSpanner #'style = #'dotted-line
        \override TextSpanner #'bound-details
#'left #'text = \markup{\dynamic
"mf"}
        \override TextSpanner #'bound-details
#'right #'text =
\markup{\dynamic "pp"}
        \override TextSpanner #'breakable = ##t
        c1 \startTextSpan
        \break
        c1 \stopTextSpan
        }


\score {
        \stuff
}
%%%%%%%%%%%%%%%%%%%

I found a reference in the docs to TextSpanners
and line breaks
(1.8.3.2) but I don't see an example like what I
want to do.

What I would like to have in the above snippet is
for the "pp" to be
printed on the second line.

-David


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user








reply via email to

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