verilog15
(verilog)
2019 年 8 月 24 日午後 11:04
1
Hi guys, I noticed that the MathJax formulas going out of the limits of the posts:
It happens only for the mobile mode. Is it possible to hear some suggestions on how to fix it? I guess we need to somehow reduce the size of it so it could break somehow.
「いいね!」 4
Still having this problem . Someone can maybe help?
Thank you.
「いいね!」 1
Zususu
2019 年 9 月 7 日午後 1:47
4
Having the same issue. Have you solved it maybe?
No, I still having the problem. Looks like no one cares though
Johani
(Joe)
2019 年 9 月 8 日午前 12:03
6
We do care, a lot.
Please be patient. We’ll get this fixed.
「いいね!」 5
If you would like us to care more and care harder & faster about your specific problem, feel free to pay us by signing up for a hosting plan at https://discourse.org/buy
「いいね!」 3
Any updates on this issue? We’re using MathJax and running into the same problem on mobile devices.
Johani
(Joe)
2020 年 3 月 5 日午後 8:53
11
This was fixed a while back.
master ← hnb-ku:responsive-branch
merged 05:08AM - 09 Sep 19 UTC
context: https://meta.discourse.org/t/discourse-math-plugin/65770/137
This PR… adds styles that allow equations to be responsive. This has been tested with both MathJax and Katex. MathJax testing includes all the different renderers.
* HTML-CSS
* Common HTML
* Preview HTML
* MathML
* SVG
* Plain Source
This has also been tested with Asciimath on all 6 renders above.
Wide equations will now behave like this on desktop
https://d11a6trkgmumsb.cloudfront.net/original/3X/a/1/a1d8e2785d538069aa7b3051028cc109ed454ebf.mp4
and like this on mobile
https://d11a6trkgmumsb.cloudfront.net/original/3X/0/3/03aa3ca7e2dd43d3ab45d11c4c6864dfc86fc6b5.mp4
The videos above demonstrate the behaviour for all equations regardless of the math provider and the renderer. They will all behave like that.
On mobile, the PR adds a slight fade on either side to indicate that the user can scroll if the equation is wide.
Is your site up to date? Is the plugin up to date on your site? Can share an example the problem you’re running into?
「いいね!」 1
Yes, the site and plugin are up to date. Here is an example of the issue:
In case, you want to know how the ‘Spot Interest Rates’ derive, you can calculate by using bootstrapping from the par curve: Spot rate Yr 1 => \begin{eqnarray} 100 &=& \frac{101.5}{(1+S_1)^1} \nonumber\\ S_1 &=& {1.5\%}...
Stephen
(Stephen)
2020 年 3 月 5 日午後 10:09
13
Could you maybe share a screenshot, as what I see is:
Edit: several refreshes later:
Which looks right, no?
Johani
(Joe)
2020 年 3 月 5 日午後 10:20
14
If you’re referring to that last equation, it’s wider than most mobile viewports and so it can be scrolled horizontally like so
Are you experiencing something different?
「いいね!」 1
I am not seeing the scrolling option on a mobile device. When I use a mobile view in my desktop browser I do see the scroll. Here is a screenshot from my phone.
「いいね!」 1
Johani
(Joe)
2020 年 3 月 5 日午後 11:36
17
This should fix it
committed 11:34PM - 05 Mar 20 UTC
This commit ensures that wide equations can be scrolled on Safari. It previously… failed because Safari doesn't not support the two value overflow shorthand.
Thanks for reporting the issue @csandstedt
「いいね!」 7
Thank you @Johani for your help on this!
「いいね!」 2
Johani
(Joe)
クローズされました:
2020 年 3 月 7 日午前 10:00
19
This topic was automatically closed after 34 hours. New replies are no longer allowed.