lilypond-user
[Top][All Lists]
Advanced

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

Re: macro for \once\override


From: Werner LEMBERG
Subject: Re: macro for \once\override
Date: Sat, 29 Aug 2020 12:15:11 +0200 (CEST)

>> BTW, would it be possible to enhance `\propertyTweak` to write
>>
>>   \propertyTweak fret-diagram-details.dot-color #'white
>>                  FretBoard
>>
>> as
>>
>>   \propertyTweak dot-color #'white
>>                  FretBoard.fret-diagram-details       ?
> 
> Have you even tried?

Only the stacking case:

  \once \propertyTweak barre-type #'straight
        \propertyTweak dot-color #'black
        \propertyTweak finger-code #'below-string
                       FretBoard.fret-diagram-details

  => error: bad grob property path (dot-color)

Sorry for the simplification.
      
> With the obvious consequence that it makes no difference for
> stacking _multiple_ \propertyTweak commands, so it doesn't help a
> lot in your case.

I don't understand this remark.  Please elaborate.

> And actually using this syntax for the final \propertyTweak is
> likely going to be a lot more confusing than just staying like you
> are.

I agree.  It was a bad example, and the one above should better
demonstrate what I'm looking for.


    Werner



reply via email to

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