packages feed

typst-0.9: test/typ/math/frac-02.out

--- parse tree ---
[ Comment
, SoftBreak
, Equation
    True
    [ Text "x"
    , Text "="
    , MFrac
        (MGroup
           (Just "(")
           (Just ")")
           [ Code
               "typ/math/frac-02.typ"
               ( line 2 , column 8 )
               (Ident (Identifier "minus"))
           , Text "b"
           , Code
               "typ/math/frac-02.typ"
               ( line 2 , column 11 )
               (FieldAccess
                  (Ident (Identifier "minus")) (Ident (Identifier "plus")))
           , Code
               "typ/math/frac-02.typ"
               ( line 2 , column 22 )
               (FuncCall
                  (Ident (Identifier "sqrt"))
                  [ BlockArg
                      [ MAttach Nothing (Just (Text "2")) (Text "b")
                      , Code
                          "typ/math/frac-02.typ"
                          ( line 2 , column 31 )
                          (Ident (Identifier "minus"))
                      , Text "4"
                      , Text "a"
                      , Text "c"
                      ]
                  ])
           ])
        (MGroup Nothing Nothing [ Text "2" , Text "a" ])
    ]
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 math.equation(block: true, 
                               body: { text(body: [x]), 
                                       text(body: [=]), 
                                       math.frac(denom: { text(body: [2]), 
                                                          text(body: [a]) }, 
                                                 num: { text(body: [−]), 
                                                        text(body: [b]), 
                                                        text(body: [±]), 
                                                        math.sqrt(radicand: { math.attach(b: none, 
                                                                                          base: text(body: [b]), 
                                                                                          t: text(body: [2])), 
                                                                              text(body: [−]), 
                                                                              text(body: [4]), 
                                                                              text(body: [a]), 
                                                                              text(body: [c]) }) }) }, 
                               numbering: none), 
                 parbreak() })