packages feed

typst-0.9: test/typ/layout/transform-00.out

--- parse tree ---
[ Comment
, SoftBreak
, Code
    "typ/layout/transform-00.typ"
    ( line 2 , column 2 )
    (Let
       (BasicBind (Just (Identifier "size"))) (Literal (Numeric 11.0 Pt)))
, SoftBreak
, Code
    "typ/layout/transform-00.typ"
    ( line 3 , column 2 )
    (Let
       (BasicBind (Just (Identifier "tex")))
       (Block
          (CodeBlock
             [ Block (Content [ Text "T" ])
             , FuncCall
                 (Ident (Identifier "h"))
                 [ NormalArg
                     (Times
                        (Negated (Literal (Float 0.14))) (Ident (Identifier "size")))
                 ]
             , FuncCall
                 (Ident (Identifier "box"))
                 [ NormalArg
                     (FuncCall
                        (Ident (Identifier "move"))
                        [ KeyValArg
                            (Identifier "dy")
                            (Times (Literal (Float 0.22)) (Ident (Identifier "size")))
                        , BlockArg [ Text "E" ]
                        ])
                 ]
             , FuncCall
                 (Ident (Identifier "h"))
                 [ NormalArg
                     (Times
                        (Negated (Literal (Float 0.12))) (Ident (Identifier "size")))
                 ]
             , Block (Content [ Text "X" ])
             ])))
, ParBreak
, Code
    "typ/layout/transform-00.typ"
    ( line 11 , column 2 )
    (Let
       (BasicBind (Just (Identifier "xetex")))
       (Block
          (CodeBlock
             [ Block (Content [ Text "X" ])
             , FuncCall
                 (Ident (Identifier "h"))
                 [ NormalArg
                     (Times
                        (Negated (Literal (Float 0.14))) (Ident (Identifier "size")))
                 ]
             , FuncCall
                 (Ident (Identifier "box"))
                 [ NormalArg
                     (FuncCall
                        (Ident (Identifier "scale"))
                        [ KeyValArg
                            (Identifier "x") (Negated (Literal (Numeric 100.0 Percent)))
                        , NormalArg
                            (FuncCall
                               (Ident (Identifier "move"))
                               [ KeyValArg
                                   (Identifier "dy")
                                   (Times (Literal (Float 0.26)) (Ident (Identifier "size")))
                               , BlockArg [ Text "E" ]
                               ])
                        ])
                 ]
             , FuncCall
                 (Ident (Identifier "h"))
                 [ NormalArg
                     (Times
                        (Negated (Literal (Float 0.14))) (Ident (Identifier "size")))
                 ]
             , Block (Content [ Text "T" ])
             , FuncCall
                 (Ident (Identifier "h"))
                 [ NormalArg
                     (Times
                        (Negated (Literal (Float 0.14))) (Ident (Identifier "size")))
                 ]
             , FuncCall
                 (Ident (Identifier "box"))
                 [ NormalArg
                     (FuncCall
                        (Ident (Identifier "move"))
                        [ KeyValArg
                            (Identifier "dy")
                            (Times (Literal (Float 0.26)) (Ident (Identifier "size")))
                        , BlockArg [ Text "E" ]
                        ])
                 ]
             , FuncCall
                 (Ident (Identifier "h"))
                 [ NormalArg
                     (Times
                        (Negated (Literal (Float 0.12))) (Ident (Identifier "size")))
                 ]
             , Block (Content [ Text "X" ])
             ])))
, ParBreak
, Code
    "typ/layout/transform-00.typ"
    ( line 23 , column 2 )
    (Set
       (Ident (Identifier "text"))
       [ KeyValArg
           (Identifier "font") (Literal (String "New Computer Modern"))
       , NormalArg (Ident (Identifier "size"))
       ])
, SoftBreak
, Text "Neither"
, Space
, Code
    "typ/layout/transform-00.typ"
    ( line 24 , column 10 )
    (Ident (Identifier "tex"))
, Text ","
, Space
, HardBreak
, Text "nor"
, Space
, Code
    "typ/layout/transform-00.typ"
    ( line 25 , column 6 )
    (Ident (Identifier "xetex"))
, Text "!"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 text(body: [
]), 
                 parbreak(), 
                 parbreak(), 
                 text(body: [
Neither ], 
                      font: "New Computer Modern", 
                      size: 11.0pt), 
                 text(body: [T]), 
                 h(amount: -1.54pt), 
                 box(body: move(body: text(body: [E]), 
                                dy: 2.42pt)), 
                 h(amount: -1.3199999999999998pt), 
                 text(body: [X]), 
                 text(body: [, ], 
                      font: "New Computer Modern", 
                      size: 11.0pt), 
                 linebreak(), 
                 text(body: [nor ], 
                      font: "New Computer Modern", 
                      size: 11.0pt), 
                 text(body: [X]), 
                 h(amount: -1.54pt), 
                 box(body: scale(body: move(body: text(body: [E]), 
                                            dy: 2.8600000000000003pt), 
                                 x: -100%)), 
                 h(amount: -1.54pt), 
                 text(body: [T]), 
                 h(amount: -1.54pt), 
                 box(body: move(body: text(body: [E]), 
                                dy: 2.8600000000000003pt)), 
                 h(amount: -1.3199999999999998pt), 
                 text(body: [X]), 
                 text(body: [!], 
                      font: "New Computer Modern", 
                      size: 11.0pt), 
                 parbreak() })