packages feed

typst-0.9: test/typ/math/cancel-05.out

--- parse tree ---
[ Comment
, SoftBreak
, Equation
    False
    [ Text "x"
    , Text "+"
    , Code
        "typ/math/cancel-05.typ"
        ( line 2 , column 6 )
        (FuncCall
           (Ident (Identifier "cancel"))
           [ BlockArg [ Text "y" ]
           , KeyValArg (Identifier "rotation") (Literal (Numeric 90.0 Deg))
           ])
    , Code
        "typ/math/cancel-05.typ"
        ( line 2 , column 34 )
        (Ident (Identifier "minus"))
    , Code
        "typ/math/cancel-05.typ"
        ( line 2 , column 36 )
        (FuncCall
           (Ident (Identifier "cancel"))
           [ BlockArg [ Text "z" ]
           , KeyValArg (Identifier "rotation") (Literal (Numeric 135.0 Deg))
           ])
    ]
, SoftBreak
, Equation
    True
    [ Text "e"
    , Text "+"
    , Code
        "typ/math/cancel-05.typ"
        ( line 3 , 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
        "typ/math/cancel-05.typ"
        ( line 3 , column 31 )
        (Ident (Identifier "minus"))
    , Code
        "typ/math/cancel-05.typ"
        ( line 3 , 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() })