typst-0.9: test/typ/layout/spacing-01.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/layout/spacing-01.typ"
( line 2 , column 2 )
(Set
(Ident (Identifier "align"))
[ NormalArg (Ident (Identifier "right")) ])
, SoftBreak
, Text "A"
, Space
, Code
"typ/layout/spacing-01.typ"
( line 3 , column 4 )
(FuncCall
(Ident (Identifier "h")) [ NormalArg (Literal (Numeric 0.0 Pt)) ])
, Space
, Text "B"
, Space
, Code
"typ/layout/spacing-01.typ"
( line 3 , column 14 )
(FuncCall
(Ident (Identifier "h")) [ NormalArg (Literal (Numeric 0.0 Pt)) ])
, Space
, HardBreak
, Text "A"
, Space
, Text "B"
, Space
, HardBreak
, Text "A"
, Space
, Code
"typ/layout/spacing-01.typ"
( line 5 , column 4 )
(FuncCall
(Ident (Identifier "h"))
[ NormalArg (Negated (Literal (Numeric 1.0 Fr))) ])
, Space
, Text "B"
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
A ]),
h(amount: 0.0pt),
text(body: [ B ]),
h(amount: 0.0pt),
text(body: [ ]),
linebreak(),
text(body: [A B ]),
linebreak(),
text(body: [A ]),
h(amount: -1.0fr),
text(body: [ B]),
parbreak() })