[LyX/master] Implement variable size bigops

Richard Kimberly Heck rikiheck at lyx.org
Fri Jul 24 15:51:40 UTC 2020


On 7/24/20 7:02 AM, Enrico Forestieri wrote:
> On Thu, Jul 23, 2020 at 03:47:44PM +0200, Enrico Forestieri wrote:
>> On Thu, Jul 23, 2020 at 03:24:13PM +0200, Jean-Marc Lasgouttes wrote:
>>> Le 23/07/2020 à 15:13, Enrico Forestieri a écrit :
>>>> On Thu, Jul 23, 2020 at 01:16:32PM +0200, Jean-Marc Lasgouttes wrote:
>>>>
>>>>> Le 23/07/2020 à 12:22, Enrico Forestieri a écrit :
>>>>>> Here is an alternative patch. Please check whether the change in
>>>>>> InsetMathSymbol.cpp is compatible with the corresponding change
>>>>>> at e8ee0100.
>>>>> I think it is OK. What about the users of mathedSymbolDim in InsetMathFrac?
>>>>> Is kerning irrelevant here?
>>> This looks good for master and probably branch as far as I am concerned.
>> I am not really satisfied when navigating a formula with the cursor.
>> The caret will be placed in the middle of a symbol instead of after it.
>> Taking away the change to GuiFontMetrics.cpp makes navigation more
>> pleasant but both scripts are placed far away the symbol.
>>
>> I propose the attached patch that leaves unchanged GuiFontMetrics::width()
>> and makes negative the kerning for a symbol, so that the subscript is
>> moved to the left instead of moving the superscript to the right.
> Patch pushed at 0b3e6916.
>
> Richard, I attach here the corresponding patch for stable.

OK!

Riki




More information about the lyx-devel mailing list