How to make centralized formulae in enums

+ + Let $R=FF_p (epsilon) slash (epsilon^2)$. Prove that
    $
      F(X, Y) = X + Y + epsilon X Y^p
    $
    defines a noncommutative formal group

gives

image

Instead of

How can I make an enum take as much horizontal space as possible? I hope there’s an option in enums to toggle this behavior, but there seemingly isn’t.

This is a known issue: Center alignment broken in lists · Issue #529 · typst/typst · GitHub. I think my fix at the bottom should still be the best solution yet, since no one corrected it. Though I’m not sure in which cases you would need to use inset: 0pt, because, IIUC, block has no inset by default.

#show math.equation.where(block: true): eq => {
  block(width: 100%, inset: 0pt, align(center, eq))
}

+ + Let $R=FF_p (epsilon) slash (epsilon^2)$. Prove that
    $
      F(X, Y) = X + Y + epsilon X Y^p
    $
    defines a noncommutative formal group

2 Likes