lilypond-user
[Top][All Lists]
Advanced

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

Re: automatically left-aligning custom dynamics


From: james
Subject: Re: automatically left-aligning custom dynamics
Date: Sun, 9 Sep 2012 13:35:06 +0200

On Sep 9, 2012, at 12:24 PM, David Kastrup wrote:

> james <address@hidden> writes:
> 
>>    Ok, here is the deal: this is an override, which is something
>>    happening at a single timestep to _everything_ in the current
>>    context. If you want to combine them, you rather want a tweak,
>>    which is something with its effect confined to what you are
>>    tweaking.
>> 
>>    rinforzleft = \tweak DynamicText #'self-alignment-X #-1 \rinforzmf
>> 
>>    should do the trick.
>> 
>> So does this mean I could do rinforza = \tweak DynamicText #'self-alignment-
>> X #-1 #(make-dynamic-script #{ \markup … #} #) ? Or would that change
>> all DynamicText things when I only want it to affect this individual
>> one?
> 
> That should work fine.  It is actually quite equivalent to what the
> other David's code does.  

I don't understand any of the rest of that, but this works brilliantly:

frisoluto = \tweak DynamicText #'self-alignment-X #-1 #(
   make-dynamic-script (
    markup #:line (
      #:left-align
      #:dynamic "f"
      #:hspace -1
      #:normal-text
      #:italic ", risoluto" 
    )
  )
)

Thanks tons!


reply via email to

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