typst-0.9: test/typ/layout/clip-02.out
--- parse tree ---
[ Comment
, SoftBreak
, Text "Emoji"
, Text ":"
, Space
, Code
"typ/layout/clip-02.typ"
( line 2 , column 9 )
(FuncCall
(Ident (Identifier "box"))
[ KeyValArg (Identifier "height") (Literal (Numeric 0.5 Em))
, KeyValArg
(Identifier "stroke")
(Plus (Literal (Numeric 1.0 Pt)) (Ident (Identifier "black")))
, BlockArg
[ Text "\128042,"
, Space
, Text "\127755,"
, Space
, Text "\127966"
]
])
, ParBreak
, Text "Emoji"
, Text ":"
, Space
, Code
"typ/layout/clip-02.typ"
( line 4 , column 9 )
(FuncCall
(Ident (Identifier "box"))
[ KeyValArg (Identifier "height") (Literal (Numeric 0.5 Em))
, KeyValArg (Identifier "clip") (Literal (Boolean True))
, KeyValArg
(Identifier "stroke")
(Plus (Literal (Numeric 1.0 Pt)) (Ident (Identifier "black")))
, BlockArg
[ Text "\128042,"
, Space
, Text "\127755,"
, Space
, Text "\127966"
]
])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
Emoji: ]),
box(body: text(body: [πͺ, π, π]),
height: 0.5em,
stroke: (thickness: 1.0pt,
color: rgb(0%,0%,0%,100%))),
parbreak(),
text(body: [Emoji: ]),
box(body: text(body: [πͺ, π, π]),
clip: true,
height: 0.5em,
stroke: (thickness: 1.0pt,
color: rgb(0%,0%,0%,100%))),
parbreak() })