pydata-sphinx-theme
pydata-sphinx-theme copied to clipboard
Theme renders LaTeX to far right of page
Please not: I'm not a web developer, kindly be patient with me!
I'm trying to apply the pydata-sphinx-theme to numpy-financial PR this works well, except the LaTeX equations are rendered to the far right of the page:
I'd like this to render in the centre of the page. This happens with the current theme bizstyle
. Is this a bug with the theme or have I done something wrong?
just a note that I'm about to head on holiday for a week and wasn't able to dig into this beforehand. My apologies; hopefully another dev has time to look at it sooner. Otherwise I'll take a look early in December. It will help if you provide a link to the built docs (a CI artifact perhaps?) so we can inspect the generated website source through browser dev tools.
Enjoy your holiday @drammock!
I currently do not have the website building in CI. I'll get it set up and link to it in this issue, hopefully by the time you're back from your holidays.
A quick update. I've swapped imgmath for mathjax which renders it correctly.
all the css adaptation we built internally is based on Mathjax output. I don't know how it differs from imgmath but we cannot really afford to support both at the moment. Please reopen if you are willing to make a PR but as switching back to Sphinx default tools worked I'm reluctant to add this to the pile of lib we need to take care about.
I'm going to reopen this because imgmath
is an extension that is built-in to Sphinx. We really should handle it gracefully I think.
Thanks for reopening the issue. I'm still working on getting the CI set up (we're nearly there) and then I can try to swap it back to imgmath
to give you some sample output