@@ -1524,7 +1524,7 @@ class AutoHeightChar(Hlist):
1524
1524
"""
1525
1525
1526
1526
def __init__ (self ,c :str ,height :float ,depth :float ,state :ParserState ,
1527
- always : bool = False , factor :float | None = None ):
1527
+ factor :float | None = None ):
1528
1528
alternatives = state .fontset .get_sized_alternatives_for_symbol (
1529
1529
state .font ,c )
1530
1530
@@ -1563,7 +1563,7 @@ class AutoWidthChar(Hlist):
1563
1563
always just return a scaled version of the glyph.
1564
1564
"""
1565
1565
1566
- def __init__ (self ,c :str ,width :float ,state :ParserState ,always : bool = False ,
1566
+ def __init__ (self ,c :str ,width :float ,state :ParserState ,
1567
1567
char_class :type [Char ]= Char ):
1568
1568
alternatives = state .fontset .get_sized_alternatives_for_symbol (
1569
1569
state .font ,c )
@@ -2712,7 +2712,7 @@ def sqrt(self, toks: ParseResults) -> T.Any:
2712
2712
# the height so it doesn't seem cramped
2713
2713
height = body .height - body .shift_amount + thickness * 5.0
2714
2714
depth = body .depth + body .shift_amount
2715
- check = AutoHeightChar (r'\__sqrt__' ,height ,depth ,state , always = True )
2715
+ check = AutoHeightChar (r'\__sqrt__' ,height ,depth ,state )
2716
2716
height = check .height - check .shift_amount
2717
2717
depth = check .depth + check .shift_amount
2718
2718