lilypond-user
[Top][All Lists]
Advanced

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

Re: crescendo hairpin with text


From: Janek Warchoł
Subject: Re: crescendo hairpin with text
Date: Fri, 25 Oct 2013 12:34:19 +0200

2013/10/21 Simon Bailey <address@hidden>:
> On Mon, Oct 21, 2013 at 3:17 PM, David Kastrup <address@hidden> wrote:
>> "Peter Gentry" <address@hidden> writes:
>>
>>>  I found it necessary to replace
>>>                  (ly:stencil-aligned-to (grob-interpret-markup grob $text) 
>>> X CENTER))
>>>   by
>>>                  (ly:stencil-aligned-to (grob-interpret-markup grob text) X 
>>> CENTER))
>>>
>>> Using 2.17.26
>>
>> That's something that convert-ly -ed will do.
>
> i didn't mention that as step 0, as LSR snippets are so outdated that
> I always run convert-ly when i borrow a snippet from there. :)
>
> for the OP it might be worth mentioning that changing CENTER to RIGHT
> will only work for crescendos. decrescendos will need LEFT or setting
> dynamically from the value of Hairpin.direction. While you're at it,
> you could look at the Hairpin.height property to increase the opening
> of the "jaws", giving your text some more space.

That's why i offered to refactor that function: i could probably make
these things work automatically, or at least provide reasonable
arguments to control the bhaviour :)

best,
Janek



reply via email to

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