@@ -645,7 +645,7 @@ def _get_glyph(self, fontname, sym, fontsize):
645645 ('ex' , '\xbf ' ), ('ex' , '\x2a ' )],
646646 r'\rangle' : [('cal' , '\x69 ' ), ('ex' , '\xae ' ), ('ex' , '\x45 ' ),
647647 ('ex' , '\xc0 ' ), ('ex' , '\x2b ' )],
648- r'\sqrt' : [('cal' , '\x70 ' ), ('ex' , '\x70 ' ), ('ex' , '\x71 ' ),
648+ r'\__sqrt__' : [('cal' , '\x70 ' ), ('ex' , '\x70 ' ), ('ex' , '\x71 ' ),
649649 ('ex' , '\x72 ' ), ('ex' , '\x73 ' )],
650650 r'\backslash' : [('cal' , '\x6e ' ), ('ex' , '\xb2 ' ), ('ex' , '\x2f ' ),
651651 ('ex' , '\xc2 ' ), ('ex' , '\x2d ' )],
@@ -2296,7 +2296,7 @@ def sqrt(self, s, loc, toks):
22962296 # the height so it doesn't seem cramped
22972297 height = body .height - body .shift_amount + thickness * 5.0
22982298 depth = body .depth + body .shift_amount
2299- check = AutoHeightChar (r'\sqrt ' , height , depth , state , always = True )
2299+ check = AutoHeightChar (r'\__sqrt__ ' , height , depth , state , always = True )
23002300 height = check .height - check .shift_amount
23012301 depth = check .depth + check .shift_amount
23022302
0 commit comments