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

Add LaTeX left-aligment #7

Open
nukadelic opened this issue Nov 2, 2017 · 0 comments
Open

Add LaTeX left-aligment #7

nukadelic opened this issue Nov 2, 2017 · 0 comments

Comments

@nukadelic
Copy link

Not sure if it's the standard behavior across all Jupyter notebooks, but I'm going to post this here since I use your supreme theme 👍
My goal was to prevent the automatic center alignment for multi-line latex formulas. The inline LaTeX rules ( surrounded by $ ) seems to be left-aligned but anything besides that did not work.
After an hour and a half battling with LaTeX alignments, I decided to check the page source. From there it was quite obvious that Jupyter-Notebook will automatically add an inline-css rule (center text alignment) for all .MathJax dom-elements.
To force the left-alignment to work, I have added the following css rule into custom.css :

.MathJax_Display {
  text-align: left !important;
}
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

1 participant