[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Box around system
From: |
David Kastrup |
Subject: |
Re: Box around system |
Date: |
Thu, 19 May 2022 01:27:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Jean Abou Samra <jean@abou-samra.fr> writes:
> Le 19/05/2022 à 00:56, David Kastrup a écrit :
>> Jean Abou Samra <jean@abou-samra.fr> writes:
>>
>>> Le 18/05/2022 à 23:58, Jean Abou Samra a écrit :
>>>> (say)
>>>> \overrideMidBrokenSpanner Context.Grob.property = ...
>>>
>>> Actually, the ideal interface for this is probably a modifier
>>> like \once, \temporary and \single.
>>>
>>> \broken \override Context.Grob.property = ...
>> I am not sure: it seems more natural that breaking any spanner into
>> pieces leaves you with the properties valid at the start of the broken
>> piece, without needing extra instructions.
>>
>> But for doing the equivalent with tweaks, it would be rather tricky to
>> make _that_ information column-dependent as well in some manner. So
>> it's not clear that this leads to something wonderful.
>
>
>
> Allow me to doubt: should the behavior of this piece of code
> really change?
>
> \version "2.22.2"
>
> <<
> \new Staff { c'1\< \break 2 2\! }
> \new Staff { c'1\< \break 2 2\! }
> \new Staff {
> R1
> \override Score.Hairpin.color = red
> g2\< 2\!
> }
> \new Staff {
> R1
> g2\< 2\!
> }
>>>
>
>
> Assuming that it is desirable to make the two upper
> hairpins red in this case, it sounds like a serious
> compatibility issue.
Well, compatibility would definitely end up being a problem. So you may
be right about the \broken qualification being necessary. Which would
severely reduce the performance impact when the feature is not being
used.
--
David Kastrup
- Re: Box around system, (continued)
- Re: Box around system, Rip _Mus, 2022/05/18
- Re: Box around system, Jean Abou Samra, 2022/05/18
- Re: Box around system, Jean Abou Samra, 2022/05/18
- Re: Box around system, Valentin Petzel, 2022/05/18
- Re: Box around system, Jean Abou Samra, 2022/05/18
- Re: Box around system, David Kastrup, 2022/05/18
- Re: Box around system, Jean Abou Samra, 2022/05/18
- Re: Box around system, Jean Abou Samra, 2022/05/18
- Re: Box around system, David Kastrup, 2022/05/18
- Re: Box around system, Jean Abou Samra, 2022/05/18
- Re: Box around system,
David Kastrup <=