@@ -1524,7 +1524,7 @@ class AutoHeightChar(Hlist):
15241524 """
15251525
15261526 def __init__ (self , c : str , height : float , depth : float , state : ParserState ,
1527- always : bool = False , factor : float | None = None ):
1527+ factor : float | None = None ):
15281528 alternatives = state .fontset .get_sized_alternatives_for_symbol (
15291529 state .font , c )
15301530
@@ -1563,7 +1563,7 @@ class AutoWidthChar(Hlist):
15631563 always just return a scaled version of the glyph.
15641564 """
15651565
1566- def __init__ (self , c : str , width : float , state : ParserState , always : bool = False ,
1566+ def __init__ (self , c : str , width : float , state : ParserState ,
15671567 char_class : type [Char ] = Char ):
15681568 alternatives = state .fontset .get_sized_alternatives_for_symbol (
15691569 state .font , c )
@@ -2712,7 +2712,7 @@ def sqrt(self, toks: ParseResults) -> T.Any:
27122712 # the height so it doesn't seem cramped
27132713 height = body .height - body .shift_amount + thickness * 5.0
27142714 depth = body .depth + body .shift_amount
2715- check = AutoHeightChar (r'\__sqrt__' , height , depth , state , always = True )
2715+ check = AutoHeightChar (r'\__sqrt__' , height , depth , state )
27162716 height = check .height - check .shift_amount
27172717 depth = check .depth + check .shift_amount
27182718
0 commit comments