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