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

Math equation style parameter and fix horizontally overflowing math equations #10

Merged
merged 3 commits into from
Dec 13, 2023
Merged

Math equation style parameter and fix horizontally overflowing math equations #10

merged 3 commits into from
Dec 13, 2023

Conversation

nicolas-ferrada
Copy link
Contributor

I had a problem, I needed the equations to have a different style from the text while reading the LaTeX document. So I added a parameter that gives the oportunity to change the textstyle of the math equation. If no parameter is given, the LaTeX style will be used as normal.

Also the big math equations were overflowing, so I added a SingleChildScrollView for horizontal scrolling to avoid this when it happens. I did not add any visual indicator of when a math equation is or is not scrollable, so it might be a little confusing. I might work on it later.

A TextStyle used to apply styles exclusively to the mathematical equations.
does not include a visual indicator of possible scrolling
lib/latext.dart Outdated Show resolved Hide resolved
@djade007 djade007 merged commit 16617d1 into djade007:main Dec 13, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants