Replies: 1 comment 2 replies
-
|
You got two options: #show block: it => align(center, it)Or you wrap your content in #import "@preview/cetz:0.4.2": canvas, draw, tree
#canvas({
import draw: *
set-style(content: (padding: 0.5em, align: center, wrap: align.with(center)))
tree.tree(
(align(center)[Project lead\ name] , align(center)[Technical Advisor (EE)\ name])
)
})With cetz:0.5.* there will be a style key ( |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to align the multi row items in the center, but all the options I tried to not work. What is the correct way of doing this? I dont like the idea of having to manually wrap each item with
align(center)[...}Beta Was this translation helpful? Give feedback.
All reactions