superscipt in large fonts

Daniel xracoonx at gmx.de
Sat Jan 22 07:40:19 UTC 2022


On 2022-01-21 10:40, Daniel via lyx-users wrote:
> On 20/01/2022 13:51, Csikos Bela via lyx-users wrote:
>> Hello:
>>
>> This occurs in lyx 2.3.6.1.
>>
>> When I add superscript to non-default sized fonts, for example to 
>> "larger" fonts, the
>> superscript text is not scaled correctly, its size is the same as the 
>> size of the larger font.
>>
>> How can I add correctly scaled superscript text to non default font 
>> sizes?
>>
>> Thanks,
>>
>> bcsikos
> 
> Hello,
> 
> If I see it correctly, this will be fixed in the upcoming LyX version 
> (2.4).
> 
> Best,
> Daniel

Indeed, the current version produces

{\Huge{}x}\textsuperscript{{\Huge{}y}}{\Huge\par}

and the new version

{\Huge x\textsuperscript{y}}{\Huge\par}

(though the "{\Huge\par}" seems a bit superfluous to me in both versions).

Daniel




More information about the lyx-users mailing list