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
Toggle old alignment behavior for equations #2370
Comments
BTW, the workaround to get two centered equations is not perfect. Although it gives similar output to the old behavior with HTML+MathJax, it creates an extra vertical space in latexpdf output. |
Indeed. It comes from #2254. I reproduce this with following code:
|
Perhaps there is some more up-to-date info but I have already found this : http://tex.stackexchange.com/a/8142/4686, which says
Anyway, things are produced like \begin{align*}\begin{aligned}
\begin{split}A\end{split}\\
\begin{split}B\end{split}\end{aligned}\end{align*} and I am not sure about |
I obtain centered results with Single equation in single math directive:
\begin{align*}\!\begin{aligned}
\begin{split}\boxed{A}\end{split}\\\end{aligned}\end{align*}
Multiple equations in single math directive:
\begin{align*}\!\begin{aligned}
\begin{split}\boxed{A}\end{split}\\
\begin{split}\boxed{B}\end{split}\\\end{aligned}\end{align*}
\noindent\rule{.5\linewidth}{3pt}%
\kern-.2pt
\smash{\rule[-5cm]{.4pt}{10cm}}%
\kern-.2pt
\rule{.5\linewidth}{6pt}
Multiple equations in multiple math directives:
\begin{align*}\!\begin{aligned}
\begin{split}\boxed{A}\end{split}\\\end{aligned}\end{align*}\begin{align*}\begin{aligned}
\begin{split}\boxed{B}\end{split}\\\end{aligned}\end{align*} The recipe appears to be to use (and I still don't understand the reason for |
In my previous comment notice that the bottom boxed B is not centered but I forgot the |
I think it's OK to remove According to @jfbu 's comments, we should use different environments for single equations ( |
Previously, if you put two equations inside one math block
both would show up centered. Due to recent changes in sphinx (which puts them in an align environment), they now render right-aligned. I can get back to two centered equations using
but this is less convenient. Is there any way to restore the old behavior?
The text was updated successfully, but these errors were encountered: