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

Long equations do not display completely in digital devices. #760

Closed
2 of 3 tasks
PoeticGenius opened this issue Nov 19, 2022 · 4 comments
Closed
2 of 3 tasks

Long equations do not display completely in digital devices. #760

PoeticGenius opened this issue Nov 19, 2022 · 4 comments

Comments

@PoeticGenius
Copy link

Checklist

  • I have read the tutorials and know the correct effect of the functional design.
  • There are no similar reports on existing issues (including closed ones).
  • I found the bug on the latest code of the master branch.

Describe the bug

Long equations do not display completely in digital devices.

To Reproduce

Steps to reproduce the behavior:

Just visit my website to find out more.

Expected behavior

Maybe we can scroll horizontally across the equation.

Screenshots

154252706258e43de7813e18d79d7af

Environment

Command Version
ruby -v 2.7.0
gem -v 3.1.2
bundle -v 2.1.2
bundle exec jekyll -v 4.2.2
bundle info jekyll-theme-chirpy 5.2.1

Desktop

Smartphone

  • OS: [HarmonyOS 2.0.0]
  • Browser: [Quark]

Additional context

@cotes2020
Copy link
Owner

It seems that you modified the CSS to cause this issue. In the original edition, the mathematical formula supports horizontal scrolling.

@PoeticGenius
Copy link
Author

Thanks for your generous reply. It seems that this situation is not caused by customizing css because I just change my css to original and only use another font: PlayFair. The horizontal bar can show but can not be moved. Please dive in and provide a solution.

Maybe you can try this formula in your theme and view it from phones:

$$
\frac{\partial E(\boldsymbol{w})}{\partial w_{kj}^{(2)}} = \frac{\partial E(\boldsymbol{w})}{\partial y_{k}} \frac{\partial y_k}{\partial w_{kj}^{(2)}} = (y_{k}- \hat{y}_k)z_{j} \tag{5.9}
$$

Any help is well appreciated!

@DylanDijk
Copy link

@PoeticGenius Was just wondering if you ended up managing to find a solution for this.

@cotes2020
Copy link
Owner

So @PoeticGenius I used the formula you provided to reproduce this issue and found that it was caused by the inline style generated by MathJax.

gudtldn pushed a commit to gudtldn/gudtldn.github.io that referenced this issue Jul 26, 2024
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

3 participants