--- parse tree --- [ Code "test/typ/math/cancel-05.typ" ( line 1 , column 2 ) (Let (BasicBind (Just (Identifier "test"))) (FuncExpr [ NormalParam (Identifier "x") , NormalParam (Identifier "y") ] (Block (CodeBlock [ If [ ( Equals (Ident (Identifier "x")) (Ident (Identifier "y")) , Block (Content [ Text "\9989" ]) ) , ( Literal (Boolean True) , Block (Content [ Text "\10060" , Text "(" , Code "test/typ/math/cancel-05.typ" ( line 1 , column 47 ) (FuncCall (Ident (Identifier "repr")) [ NormalArg (Ident (Identifier "x")) ]) , Space , Text "/" , Text "=" , Space , Code "test/typ/math/cancel-05.typ" ( line 1 , column 59 ) (FuncCall (Ident (Identifier "repr")) [ NormalArg (Ident (Identifier "y")) ]) , Text ")" ]) ) ] ])))) , SoftBreak , Comment , Equation False [ Text "x" , Text "+" , Code "test/typ/math/cancel-05.typ" ( line 3 , column 6 ) (FuncCall (Ident (Identifier "cancel")) [ BlockArg [ Text "y" ] , KeyValArg (Identifier "rotation") (Literal (Numeric 90.0 Deg)) ]) , Code "test/typ/math/cancel-05.typ" ( line 3 , column 34 ) (Ident (Identifier "minus")) , Code "test/typ/math/cancel-05.typ" ( line 3 , column 36 ) (FuncCall (Ident (Identifier "cancel")) [ BlockArg [ Text "z" ] , KeyValArg (Identifier "rotation") (Literal (Numeric 135.0 Deg)) ]) ] , SoftBreak , Equation True [ Text "e" , Text "+" , Code "test/typ/math/cancel-05.typ" ( line 4 , column 7 ) (FuncCall (Ident (Identifier "cancel")) [ BlockArg [ MFrac (MGroup (Just "(") (Just ")") [ Text "j" , Text "+" , Text "e" ]) (MGroup Nothing Nothing [ Text "f" , Text "+" , Text "e" ]) ] ]) , Code "test/typ/math/cancel-05.typ" ( line 4 , column 31 ) (Ident (Identifier "minus")) , Code "test/typ/math/cancel-05.typ" ( line 4 , column 33 ) (FuncCall (Ident (Identifier "cancel")) [ BlockArg [ MFrac (MGroup (Just "(") (Just ")") [ Text "j" , Text "+" , Text "e" ]) (MGroup Nothing Nothing [ Text "f" , Text "+" , Text "e" ]) ] , KeyValArg (Identifier "rotation") (Literal (Numeric 30.0 Deg)) ]) ] , ParBreak ] --- evaluated --- document(body: { text(body: [ ]), math.equation(block: false, body: { text(body: [x]), text(body: [+]), math.cancel(body: text(body: [y]), rotation: 90.0deg), text(body: [−]), math.cancel(body: text(body: [z]), rotation: 135.0deg) }, numbering: none), text(body: [ ]), math.equation(block: true, body: { text(body: [e]), text(body: [+]), math.cancel(body: math.frac(denom: { text(body: [f]), text(body: [+]), text(body: [e]) }, num: { text(body: [j]), text(body: [+]), text(body: [e]) })), text(body: [−]), math.cancel(body: math.frac(denom: { text(body: [f]), text(body: [+]), text(body: [e]) }, num: { text(body: [j]), text(body: [+]), text(body: [e]) }), rotation: 30.0deg) }, numbering: none), parbreak() })