typst-0.9: test/typ/text/shift-01.out
--- parse tree ---
[ Code
"typ/text/shift-01.typ"
( line 1 , column 2 )
(Set
(Ident (Identifier "super"))
[ KeyValArg (Identifier "typographic") (Literal (Boolean False))
, KeyValArg
(Identifier "baseline") (Negated (Literal (Numeric 0.25 Em)))
, KeyValArg (Identifier "size") (Literal (Numeric 0.7 Em))
])
, SoftBreak
, Text "n"
, Code
"typ/text/shift-01.typ"
( line 2 , column 3 )
(FuncCall (Ident (Identifier "super")) [ BlockArg [ Text "1" ] ])
, Text ","
, Space
, Text "n"
, Code
"typ/text/shift-01.typ"
( line 2 , column 15 )
(FuncCall (Ident (Identifier "sub")) [ BlockArg [ Text "2" ] ])
, Text ","
, Space
, Ellipsis
, Space
, Text "n"
, Code
"typ/text/shift-01.typ"
( line 2 , column 29 )
(FuncCall (Ident (Identifier "super")) [ BlockArg [ Text "N" ] ])
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
n]),
super(baseline: -0.25em,
body: text(body: [1]),
size: 0.7em,
typographic: false),
text(body: [, n]),
sub(body: text(body: [2])),
text(body: [, … n]),
super(baseline: -0.25em,
body: text(body: [N]),
size: 0.7em,
typographic: false),
parbreak() })