mirror of
https://github.com/typst/typst
synced 2025-05-31 01:06:25 +08:00
32 lines
644 B
XML
32 lines
644 B
XML
[page.size: w=5cm, h=5cm]
|
|
[page.margins: 0cm]
|
|
|
|
// [box: w=4cm, h=3cm][1]
|
|
// //
|
|
// [direction: ttb, ltr]
|
|
// [box: w=2cm, h=1][2]
|
|
// //
|
|
// [direction: btt, rtl]
|
|
// [align: bottom, right]
|
|
// [box: w=3cm, h=1][3]
|
|
// //
|
|
// [direction: ltr, ttb]
|
|
// [align: center, center]
|
|
// [box: w=2cm, h=2cm][4]
|
|
|
|
[align: center]
|
|
|
|
//[direction: primary=btt, secondary=rtl]
|
|
//[align: primary=bottom, secondary=right]
|
|
//[box][Hi]
|
|
|
|
[box][
|
|
//[align: primary=center, secondary=bottom]
|
|
[direction: secondary=btt]
|
|
Blabla
|
|
[v: 0.5cm]
|
|
[align: vertical=end] Origin 2]
|
|
//[align: vertical=center] Center
|
|
//[align: vertical=center] Center
|
|
//[align: vertical=end] End End End
|