certik / theoretical-physics

Source code of the Theoretical Physics Reference online book
https://theoretical-physics.com
MIT License
220 stars 48 forks source link

Upgrade Sphinx #76

Closed certik closed 5 years ago

certik commented 7 years ago

It seems to change how equations are handled by latex, they appear shifted to the right, or right aligned. It needs to be investigated.

certik commented 6 years ago

The equations are right aligned in the pdf, and I don't know why.

certik commented 5 years ago

Everything works now and it uses high resolution svg, so things should look nice now.

certik commented 5 years ago

The only issue is that multiline equations:

.. math::

    0=(\hbar^2c^2 D^\mu D_\nu+m^2c^4)\psi=

    =(\hbar^2c^2 D^0 D_0+\hbar^2c^2D^i D_i+m^2c^4)\psi=

are now right aligned. The solution is to change them to either:

.. math::

    0=(\hbar^2c^2 D^\mu D_\nu+m^2c^4)\psi=

.. math::

    =(\hbar^2c^2 D^0 D_0+\hbar^2c^2D^i D_i+m^2c^4)\psi=

or (as in #87):

.. math::

    0 &= (\hbar^2c^2 D^\mu D_\nu+m^2c^4)\psi=

      &= (\hbar^2c^2 D^0 D_0+\hbar^2c^2D^i D_i+m^2c^4)\psi=