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

Equation alignment left #201

Open
yjc5760 opened this issue Apr 9, 2024 · 2 comments
Open

Equation alignment left #201

yjc5760 opened this issue Apr 9, 2024 · 2 comments

Comments

@yjc5760
Copy link

yjc5760 commented Apr 9, 2024

How to setup to let the rendered equations aligned left? I try to modify the mathjax.html.j2 file, but it doesn't work.
displayAlign : 'center' --> 'left'

@av1dm
Copy link

av1dm commented Apr 9, 2024

Hi,

you can try this:

handcalcs.set_option("latex_block_start", "$")
handcalcs.set_option("latex_block_end", "$")
handcalcs.set_option("math_environment_start", "aligned")
handcalcs.set_option("math_environment_end", "aligned")

@yjc5760
Copy link
Author

yjc5760 commented Apr 9, 2024

Hi, av1dm
I wanted to express my sincere gratitude for your prompt and insightful assistance, which helped me resolve a long-standing issue. Thanks a lot.

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

No branches or pull requests

2 participants