[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ritardando and accelerando
From: |
Thomas Morley |
Subject: |
Re: Ritardando and accelerando |
Date: |
Tue, 27 Jan 2015 22:08:44 +0100 |
2015-01-27 7:12 GMT+01:00 Noeck <address@hidden>:
[...]
>
> PS: Wouldn’t it be nice to have these commands (or similar):
> b1\startText "rit." c e,\stopText
Hi,
try:
\version "2.19.15" % is needed!
startMyTextSpan =
#(define-event-function (parser location txt mus)((markup? "")ly:music?)
(if (and (string? txt) (string-null? txt))
#{ \startTextSpan #}
#{
-\tweak TextSpanner.bound-details.left.text $txt
\startTextSpan
#}))
\relative c' {
c1
\startMyTextSpan \markup \with-color #red "whatever"
d
e
f
g\stopTextSpan
\override TextSpanner.bound-details.left.text = "TEXT"
c1
\startMyTextSpan
d
e
f
g\stopTextSpan
}
HTH,
Harm
- Re: Ritardando and accelerando, (continued)
- Message not available
- Re: Ritardando and accelerando, Kevin Barry, 2015/01/26
- Re: Ritardando and accelerando, Peter Danemo, 2015/01/27
- Re: Ritardando and accelerando, Noeck, 2015/01/27
- Re: Ritardando and accelerando, Peter Danemo, 2015/01/27
- Re: Ritardando and accelerando, Noeck, 2015/01/27
- Re: Ritardando and accelerando, Peter Danemo, 2015/01/27
- Re: Ritardando and accelerando, Pierre Perol-Schneider, 2015/01/27
- Re: Ritardando and accelerando, Peter Danemo, 2015/01/27
- Re: Ritardando and accelerando, Thomas Morley, 2015/01/27
- Re: Ritardando and accelerando, Pierre Perol-Schneider, 2015/01/28
- Re: Ritardando and accelerando,
Thomas Morley <=