@@ -2734,19 +2734,17 @@ def subsuper(self, s, loc, toks):
2734
2734
new_children = new_children [:- 1 ]
2735
2735
last_char = new_children [- 1 ]
2736
2736
last_char .width = last_char ._metrics .advance
2737
+ # create new Hlist without kerning
2737
2738
nucleus = Hlist (new_children , do_kern = False )
2738
2739
else :
2739
2740
last_char .width = last_char ._metrics .advance
2740
- nucleus = Hlist ([nucleus ],do_kern = False )
2741
-
2741
+ nucleus = Hlist ([nucleus ])
2742
2742
2743
2743
state = self .get_state ()
2744
2744
rule_thickness = state .font_output .get_underline_thickness (
2745
2745
state .font , state .fontsize , state .dpi )
2746
2746
xHeight = state .font_output .get_xheight (
2747
2747
state .font , state .fontsize , state .dpi )
2748
- print (last_char , last_char .height ,
2749
- xHeight )
2750
2748
2751
2749
fs = rcParams ['mathtext.fontset' ]
2752
2750
# If a custom fontset is used, check if it is Arev Sans, otherwise use
@@ -2758,7 +2756,6 @@ def subsuper(self, s, loc, toks):
2758
2756
else :
2759
2757
fs = 'cm'
2760
2758
2761
-
2762
2759
if napostrophes :
2763
2760
if super is None :
2764
2761
super = Hlist ([])
@@ -2849,7 +2846,7 @@ def subsuper(self, s, loc, toks):
2849
2846
2850
2847
if not self .is_dropsub (last_char ):
2851
2848
x .width += SCRIPT_SPACE [fs ] * xHeight
2852
- result = Hlist ([nucleus , x ], do_kern = False )
2849
+ result = Hlist ([nucleus , x ])
2853
2850
return [result ]
2854
2851
2855
2852
def _genfrac (self , ldelim , rdelim , rule , style , num , den ):
0 commit comments