mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Add test
This commit is contained in:
parent
3594e3e767
commit
af67206bdf
BIN
tests/ref/stack-align.png
Normal file
BIN
tests/ref/stack-align.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
@ -89,3 +89,10 @@ World! 🌍
|
||||
// Error: 3-40 stack spacing is infinite
|
||||
stack(spacing: infinite-length)[A][B]
|
||||
})
|
||||
|
||||
--- stack-align ---
|
||||
#set align(center)
|
||||
#set stack(align: end)
|
||||
#stack[I][am][aligned][to][the][right!]
|
||||
#stack(align: auto)[I][am][aligned][to][the][center!]
|
||||
#stack(dir: rtl, align: horizon)[Aligned \ at][horizon.]
|
||||
|
Loading…
x
Reference in New Issue
Block a user