@@ -1528,7 +1528,7 @@ class AutoHeightChar(Hlist):
1528
1528
"""
1529
1529
1530
1530
def __init__ (self , c : str , height : float , depth : float , state : ParserState ,
1531
- always : bool = False , factor : float | None = None ):
1531
+ factor : float | None = None ):
1532
1532
alternatives = state .fontset .get_sized_alternatives_for_symbol (state .font , c )
1533
1533
1534
1534
x_height = state .fontset .get_xheight (state .font , state .fontsize , state .dpi )
@@ -1565,7 +1565,7 @@ class AutoWidthChar(Hlist):
1565
1565
always just return a scaled version of the glyph.
1566
1566
"""
1567
1567
1568
- def __init__ (self , c : str , width : float , state : ParserState , always : bool = False ,
1568
+ def __init__ (self , c : str , width : float , state : ParserState ,
1569
1569
char_class : type [Char ] = Char ):
1570
1570
alternatives = state .fontset .get_sized_alternatives_for_symbol (state .font , c )
1571
1571
@@ -2703,7 +2703,7 @@ def sqrt(self, toks: ParseResults) -> T.Any:
2703
2703
# the height so it doesn't seem cramped
2704
2704
height = body .height - body .shift_amount + 5 * thickness
2705
2705
depth = body .depth + body .shift_amount
2706
- check = AutoHeightChar (r'\__sqrt__' , height , depth , state , always = True )
2706
+ check = AutoHeightChar (r'\__sqrt__' , height , depth , state )
2707
2707
height = check .height - check .shift_amount
2708
2708
depth = check .depth + check .shift_amount
2709
2709
0 commit comments