#set table(align: horizon + start)
// Works fine, but since `start` is already specified in `#set`,
// I would prefer to not specify it once again.
#figure(
table(
columns: 2,
table.header([Monday], [Tuesday]),
align: top + start,
[
- Lorem ipsum
- Lorem ipsum dolor
],
[
- Lorem ipsum
- Lorem ipsum dolor
- Lorem ipsum
- Lorem ipsum dolor
]
)
)
At the top of the document, I have
#set table(align: horizon + start)
And then somewhere in the middle of the document I have a table for which I prefer to use align: top + start.
Is it possible to make it inherit start from set table instead of specifying it once again? I tried
I’m fairly confident that for alignment you have to repeat both parts. It probably has to do with implicit defaults. Like when you write top it implicitly adds a default center. So, no, not possible. I might be wrong as I never faced this or haven’t faced enough to be 100% sure.
To be honest, I think this applies to any type. stroke has the same story: you can’t just make it 2em + yellow and then somewhere set it to red and expect it to also be 2em. Although I haven’t tried this with stroke as dictionary, maybe if you set (paint: blue, thickness: 4pt), then you can preserve (thickness: 4pt) by specifying just (paint: red).