@@ -1531,7 +1531,7 @@ class AutoHeightChar(Hlist):
15311531 """
15321532
15331533 def __init__ (self , c : str , height : float , depth : float , state : ParserState ,
1534- always : bool = False , factor : float | None = None ):
1534+ factor : float | None = None ):
15351535 alternatives = state .fontset .get_sized_alternatives_for_symbol (state .font , c )
15361536
15371537 x_height = state .fontset .get_xheight (state .font , state .fontsize , state .dpi )
@@ -1568,7 +1568,7 @@ class AutoWidthChar(Hlist):
15681568 always just return a scaled version of the glyph.
15691569 """
15701570
1571- def __init__ (self , c : str , width : float , state : ParserState , always : bool = False ,
1571+ def __init__ (self , c : str , width : float , state : ParserState ,
15721572 char_class : type [Char ] = Char ):
15731573 alternatives = state .fontset .get_sized_alternatives_for_symbol (state .font , c )
15741574
@@ -2706,7 +2706,7 @@ def sqrt(self, toks: ParseResults) -> T.Any:
27062706 # the height so it doesn't seem cramped
27072707 height = body .height - body .shift_amount + 5 * thickness
27082708 depth = body .depth + body .shift_amount
2709- check = AutoHeightChar (r'\__sqrt__' , height , depth , state , always = True )
2709+ check = AutoHeightChar (r'\__sqrt__' , height , depth , state )
27102710 height = check .height - check .shift_amount
27112711 depth = check .depth + check .shift_amount
27122712
0 commit comments