I’m trying to typeset a system of equations and new baseline behaviour in 0.15 has changed the output - the first example below works fine in 14.2. I tried a variety of alternatives, but none work out -
$
lr(\{
#block(stroke: red)[
$
partial_t u + u dot.c gradient u -Delta u &= gradient p , \
gradient dot.c u &= 0.
$
]
)
$
$
lr(\{
#box(baseline: horizon, stroke: red)[
$
partial_t u + u dot.c gradient u -Delta u &= gradient p , \
gradient dot.c u &= 0.
$
]
)
$
$
cases(
#box(stroke: red)[$ partial_t u + u dot.c gradient u -Delta u& = gradient p, \
gradient dot.c u &= 0.
$])
$
$
cases(
partial_t u + u dot.c gradient u -Delta u& = gradient p \,,
gradient dot.c u &= 0.
)
$
(strokes added for emphasis) all suggestions appreciated
EDIT - I was informed on discord that there is a GitHub issue for this - In Typst 0.15 unexpected default `baseline` of `box` in multiline equation within `lr` · Issue #8516 · typst/typst · GitHub
I am happy to await a conclusion for that issue…if we should delete this post please tell me
