-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long formulae are truncated on phone #56
Comments
It is a long term issues that how to show long math on small screen devices. The canonical way is breaking down equations manually: #import "@preview/book:0.2.4": get-page-width
#let page-width = get-page-width()
#if page-width < 400pt { $shorter$ } else { $ longer $ }
Notably, this also happens in writing math in LaTeX. Any smarter idea? |
We can turn |
Can every math block be in its own box and make that box horizontally scrollable? Is this very hard to achieve? |
I don't want to ask for something super difficult... |
Would be nice if this can be a custom option! |
Since we have customized label now, I believe we can experiment it a bit. Context, there is a "data-typst-label" to utilize: |
Code:
On mobile, it is truncated:
Trebor said maybe we should change the css into
overflow-x: auto
, currently it saysoverflow-x: hidden
, is that why?The text was updated successfully, but these errors were encountered: