packages feed

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

--- parse tree ---
[ Comment
, SoftBreak
, Code
    "typ/layout/spacing-00.typ"
    ( line 2 , column 2 )
    (FuncCall
       (Ident (Identifier "box"))
       [ BlockArg [ Text "A" , Space , HardBreak , Text "B" ] ])
, Space
, Code
    "typ/layout/spacing-00.typ"
    ( line 2 , column 14 )
    (FuncCall
       (Ident (Identifier "box"))
       [ BlockArg
           [ Text "A"
           , Space
           , Code
               "typ/layout/spacing-00.typ"
               ( line 2 , column 21 )
               (FuncCall
                  (Ident (Identifier "v"))
                  [ NormalArg (Literal (Numeric 0.65 Em))
                  , KeyValArg (Identifier "weak") (Literal (Boolean True))
                  ])
           , Space
           , Text "B"
           ]
       ])
, ParBreak
, Comment
, SoftBreak
, Text "Inv"
, Code
    "typ/layout/spacing-00.typ"
    ( line 5 , column 5 )
    (FuncCall
       (Ident (Identifier "h")) [ NormalArg (Literal (Numeric 0.0 Pt)) ])
, Text "isible"
, ParBreak
, Comment
, SoftBreak
, Text "Add"
, Space
, Code
    "typ/layout/spacing-00.typ"
    ( line 8 , column 6 )
    (FuncCall
       (Ident (Identifier "h")) [ NormalArg (Literal (Numeric 10.0 Pt)) ])
, Space
, Code
    "typ/layout/spacing-00.typ"
    ( line 8 , column 15 )
    (FuncCall
       (Ident (Identifier "h")) [ NormalArg (Literal (Numeric 10.0 Pt)) ])
, Space
, Text "up"
, ParBreak
, Comment
, SoftBreak
, Code
    "typ/layout/spacing-00.typ"
    ( line 11 , column 2 )
    (Let
       (BasicBind (Just (Identifier "x")))
       (Minus
          (Literal (Numeric 25.0 Percent)) (Literal (Numeric 4.0 Pt))))
, SoftBreak
, Text "|"
, Code
    "typ/layout/spacing-00.typ"
    ( line 12 , column 3 )
    (FuncCall
       (Ident (Identifier "h")) [ NormalArg (Ident (Identifier "x")) ])
, Text "|"
, Code
    "typ/layout/spacing-00.typ"
    ( line 12 , column 9 )
    (FuncCall
       (Ident (Identifier "h")) [ NormalArg (Ident (Identifier "x")) ])
, Text "|"
, Code
    "typ/layout/spacing-00.typ"
    ( line 12 , column 15 )
    (FuncCall
       (Ident (Identifier "h")) [ NormalArg (Ident (Identifier "x")) ])
, Text "|"
, Code
    "typ/layout/spacing-00.typ"
    ( line 12 , column 21 )
    (FuncCall
       (Ident (Identifier "h")) [ NormalArg (Ident (Identifier "x")) ])
, Text "|"
, ParBreak
, Comment
, SoftBreak
, Text "|"
, Space
, Code
    "typ/layout/spacing-00.typ"
    ( line 15 , column 4 )
    (FuncCall
       (Ident (Identifier "h")) [ NormalArg (Literal (Numeric 1.0 Fr)) ])
, Space
, Text "|"
, Space
, Code
    "typ/layout/spacing-00.typ"
    ( line 15 , column 14 )
    (FuncCall
       (Ident (Identifier "h")) [ NormalArg (Literal (Numeric 2.0 Fr)) ])
, Space
, Text "|"
, Space
, Code
    "typ/layout/spacing-00.typ"
    ( line 15 , column 24 )
    (FuncCall
       (Ident (Identifier "h")) [ NormalArg (Literal (Numeric 1.0 Fr)) ])
, Space
, Text "|"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]), 
                 box(body: { text(body: [A ]), 
                             linebreak(), 
                             text(body: [B]) }), 
                 text(body: [ ]), 
                 box(body: { text(body: [A ]), 
                             v(amount: 0.65em, 
                               weak: true), 
                             text(body: [ B]) }), 
                 parbreak(), 
                 text(body: [
Inv]), 
                 h(amount: 0.0pt), 
                 text(body: [isible]), 
                 parbreak(), 
                 text(body: [
Add ]), 
                 h(amount: 10.0pt), 
                 text(body: [ ]), 
                 h(amount: 10.0pt), 
                 text(body: [ up]), 
                 parbreak(), 
                 text(body: [
]), 
                 text(body: [
|]), 
                 h(amount: -4.0pt + 25%), 
                 text(body: [|]), 
                 h(amount: -4.0pt + 25%), 
                 text(body: [|]), 
                 h(amount: -4.0pt + 25%), 
                 text(body: [|]), 
                 h(amount: -4.0pt + 25%), 
                 text(body: [|]), 
                 parbreak(), 
                 text(body: [
| ]), 
                 h(amount: 1.0fr), 
                 text(body: [ | ]), 
                 h(amount: 2.0fr), 
                 text(body: [ | ]), 
                 h(amount: 1.0fr), 
                 text(body: [ |]), 
                 parbreak() })