This commit is contained in:
Malo 2025-02-19 01:00:05 +01:00
parent 3594e3e767
commit af67206bdf
2 changed files with 7 additions and 0 deletions

BIN
tests/ref/stack-align.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -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.]