typst-0.9: test/typ/layout/page-03.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/layout/page-03.typ"
( line 2 , column 2 )
(Set
(Ident (Identifier "page"))
[ KeyValArg (Identifier "width") (Literal (Numeric 80.0 Pt))
, KeyValArg (Identifier "height") (Literal (Numeric 40.0 Pt))
, KeyValArg (Identifier "fill") (Ident (Identifier "eastern"))
])
, SoftBreak
, Code
"typ/layout/page-03.typ"
( line 3 , column 2 )
(FuncCall
(Ident (Identifier "text"))
[ NormalArg (Literal (Numeric 15.0 Pt))
, KeyValArg (Identifier "font") (Literal (String "Roboto"))
, KeyValArg (Identifier "fill") (Ident (Identifier "white"))
, NormalArg
(FuncCall
(Ident (Identifier "smallcaps")) [ BlockArg [ Text "Typst" ] ])
])
, SoftBreak
, Code
"typ/layout/page-03.typ"
( line 4 , column 2 )
(FuncCall
(Ident (Identifier "page"))
[ KeyValArg (Identifier "width") (Literal (Numeric 40.0 Pt))
, KeyValArg (Identifier "fill") (Literal None)
, KeyValArg
(Identifier "margin")
(Dict
[ Reg ( Ident (Identifier "top") , Literal (Numeric 10.0 Pt) )
, Reg ( Ident (Identifier "rest") , Literal Auto )
])
, BlockArg [ Text "Hi" ]
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
text(body: [
]),
text(body: smallcaps(body: text(body: [Typst])),
fill: rgb(100%,100%,100%,100%),
font: "Roboto",
size: 15.0pt),
text(body: [
]),
page(body: text(body: [Hi]),
fill: none,
height: 40.0pt,
margin: (top: 10.0pt,
rest: auto),
width: 40.0pt),
parbreak() })