sphinx-book-theme icon indicating copy to clipboard operation
sphinx-book-theme copied to clipboard

Math equations not rendering correctly (katex)

Open rosshemsley opened this issue 3 years ago • 1 comments

Describe the bug

Hello! I am having an issue with rendering math equations using Katex,

It looks like problem is coming from the flex-direction in this line, which is causing my equations to get pushed far to the right of the page.

Here's an example of how this looks: Screenshot 2022-10-05 at 08 27 32

Here we can see that the problem is coming from the "math" block: Screenshot 2022-10-05 at 08 24 12

Removing the flex direction causes the page to be rendered with the correct alignment. Is this flex direction needed? (if yes, is there a workaround I can use for my specific case?)

many thanks!

Reproduce the bug

This issue affects

https://optax.readthedocs.io/en/latest/api.html#optax.adam

[note: the error might not be live until 30 mins after issue submission, whilst the docs get rebuilt]

List your environment

No response

rosshemsley avatar Oct 05 '22 07:10 rosshemsley

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Oct 05 '22 07:10 welcome[bot]