Skip to content
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

Inline math renders as block math #54

Open
BinaryQuantumSoul opened this issue Jan 2, 2025 · 2 comments
Open

Inline math renders as block math #54

BinaryQuantumSoul opened this issue Jan 2, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@BinaryQuantumSoul
Copy link

This makes the entirety of math-heavy pages unreadable.
I had to disable math rendering. Inline math should be rendered but kept inline. Only math blocks should fit the entire width of the screen.

Here's an example without/with the renders:
Screenshot_20250102_140350_WikiReader.jpg
Screenshot_20250102_140409_WikiReader.jpg

@nsh07
Copy link
Owner

nsh07 commented Jan 2, 2025

I will have to find a way to differentiate between inline and block math in the text returned by the Wikipedia API, this should be possible and I did plan to implement this when I first implemented math rendering.

Also, it seems you're using a smaller font size, is it the case? Because the rendered math looks jarringly large. I think I'll also add a factor to scale the expression image based on the text size so that it doesn't look huge.

Thanks for the suggestion and for using my app! :)

@nsh07 nsh07 self-assigned this Jan 2, 2025
@nsh07 nsh07 added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Jan 2, 2025
@BinaryQuantumSoul
Copy link
Author

Awesome, yeah there should be a way to differentiate.

Yes my system font is the smallest from the settings, so that does look way too big xD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants