packages feed

typst-0.9: test/typ/layout/grid-5-01.out

--- parse tree ---
[ Comment
, SoftBreak
, Code
    "typ/layout/grid-5-01.typ"
    ( line 2 , column 2 )
    (Set
       (Ident (Identifier "page"))
       [ KeyValArg (Identifier "height") (Literal (Numeric 2.25 Cm)) ])
, SoftBreak
, Code
    "typ/layout/grid-5-01.typ"
    ( line 3 , column 2 )
    (FuncCall
       (Ident (Identifier "grid"))
       [ KeyValArg (Identifier "columns") (Literal (Int 2))
       , KeyValArg (Identifier "gutter") (Literal (Numeric 10.0 Pt))
       , NormalArg
           (FuncCall
              (Ident (Identifier "align"))
              [ NormalArg (Ident (Identifier "bottom"))
              , BlockArg [ Text "A" ]
              ])
       , NormalArg
           (Block
              (Content
                 [ SoftBreak
                 , Text "Top"
                 , SoftBreak
                 , Code
                     "typ/layout/grid-5-01.typ"
                     ( line 9 , column 6 )
                     (FuncCall
                        (Ident (Identifier "align"))
                        [ NormalArg (Ident (Identifier "bottom"))
                        , BlockArg
                            [ SoftBreak
                            , Text "Bottom"
                            , Space
                            , HardBreak
                            , Text "Bottom"
                            , Space
                            , HardBreak
                            , Code
                                "typ/layout/grid-5-01.typ"
                                ( line 12 , column 8 )
                                (FuncCall
                                   (Ident (Identifier "v"))
                                   [ NormalArg (Literal (Numeric 0.0 Pt)) ])
                            , SoftBreak
                            , Text "Top"
                            , ParBreak
                            ]
                        ])
                 , ParBreak
                 ]))
       , NormalArg
           (FuncCall
              (Ident (Identifier "align"))
              [ NormalArg (Ident (Identifier "top")) , BlockArg [ Text "B" ] ])
       ])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 text(body: [
]), 
                 grid(children: (align(alignment: bottom, 
                                       body: text(body: [A])), 
                                 { text(body: [
Top
]), 
                                   align(alignment: bottom, 
                                         body: { text(body: [
Bottom ]), 
                                                 linebreak(), 
                                                 text(body: [Bottom ]), 
                                                 linebreak(), 
                                                 v(amount: 0.0pt), 
                                                 text(body: [
Top]), 
                                                 parbreak() }), 
                                   parbreak() }, 
                                 align(alignment: top, 
                                       body: text(body: [B]))), 
                      columns: 2, 
                      gutter: 10.0pt), 
                 parbreak() })