typst-0.9: test/typ/layout/columns-01.out
--- parse tree ---
[ Comment
, SoftBreak
, Code
"typ/layout/columns-01.typ"
( line 2 , column 2 )
(Set
(Ident (Identifier "page"))
[ KeyValArg (Identifier "width") (Literal Auto) ])
, ParBreak
, Code
"typ/layout/columns-01.typ"
( line 4 , column 2 )
(FuncCall
(Ident (Identifier "rect"))
[ KeyValArg (Identifier "width") (Literal (Numeric 180.0 Pt))
, KeyValArg (Identifier "height") (Literal (Numeric 100.0 Pt))
, KeyValArg (Identifier "inset") (Literal (Numeric 8.0 Pt))
, NormalArg
(FuncCall
(Ident (Identifier "columns"))
[ NormalArg (Literal (Int 2))
, NormalArg
(Block
(Content
[ SoftBreak
, Text "A"
, Space
, Text "special"
, Space
, Text "plight"
, Space
, Text "has"
, Space
, Text "befallen"
, Space
, Text "our"
, Space
, Text "document"
, Text "."
, SoftBreak
, Text "Columns"
, Space
, Text "in"
, Space
, Text "text"
, Space
, Text "boxes"
, Space
, Text "reigned"
, Space
, Text "down"
, Space
, Text "unto"
, Space
, Text "the"
, Space
, Text "soil"
, SoftBreak
, Text "to"
, Space
, Text "waste"
, Space
, Text "a"
, Space
, Text "year"
, Quote '\''
, Text "s"
, Space
, Text "crop"
, Space
, Text "of"
, Space
, Text "rich"
, Space
, Text "layouts"
, Text "."
, SoftBreak
, Text "The"
, Space
, Text "columns"
, Space
, Text "at"
, Space
, Text "least"
, Space
, Text "were"
, Space
, Text "graciously"
, Space
, Text "balanced"
, Text "."
, ParBreak
]))
])
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
parbreak(),
rect(body: columns(body: { text(body: [
A special plight has befallen our document.
Columns in text boxes reigned down unto the soil
to waste a year’s crop of rich layouts.
The columns at least were graciously balanced.]),
parbreak() },
count: 2),
height: 100.0pt,
inset: 8.0pt,
width: 180.0pt),
parbreak() })