Zulip Chat Archive
Stream: general
Topic: docgen strange position of equals sign
Christian Merten (Nov 12 2024 at 14:12):
While
import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Pullbacks
#check CategoryTheory.Limits.PreservesPullback.iso_inv_fst
renders as expected, note the =
comes at the expected place, the =
comes right after the first argument in docs#CategoryTheory.Limits.PreservesPullback.iso_inv_fst. Is this known?
Christian Merten (Nov 12 2024 at 14:32):
Aha, apparently it depends on the zoom level. For everyone who can't see the positioning issue, here is a screenshot:
image.png
Kevin Buzzard (Nov 12 2024 at 15:01):
Oh yikes, the equation it's displaying probably doesn't even typecheck.
Andrew Yang (Nov 12 2024 at 15:16):
I think the issue is the LHS is too long and the browser wraps the line.
Christian Merten (Nov 12 2024 at 15:18):
But why does this not keep the ordering of the symbols invariant?
Floris van Doorn (Nov 12 2024 at 18:29):
It probably uses separate boxes for the LHS and RHS of the equality, and so the newline is within the "LHS box". When selecting the text you can see that the selection-order is still correct.
Last updated: May 02 2025 at 03:31 UTC