verilog15
(verilog)
August 24, 2019, 11:04pm
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 Likes
verilog15
(verilog)
September 6, 2019, 11:15am
3
Still having this problem . Someone can maybe help?
Thank you.
1 Like
Zususu
September 7, 2019, 1:47pm
4
Having the same issue. Have you solved it maybe?
verilog15
(verilog)
September 7, 2019, 11:57pm
5
No, I still having the problem. Looks like no one cares though
Johani
(Joe)
September 8, 2019, 12:03am
6
We do care, a lot.
Please be patient. We’ll get this fixed.
5 Likes
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 Likes
Any updates on this issue? We’re using MathJax and running into the same problem on mobile devices.
Johani
(Joe)
March 5, 2020, 8:53pm
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 Like
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)
March 5, 2020, 10:09pm
13
Could you maybe share a screenshot, as what I see is:
Edit: several refreshes later:
Which looks right, no?
Johani
(Joe)
March 5, 2020, 10:20pm
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 Like
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 Like
Johani
(Joe)
March 5, 2020, 11:36pm
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 Likes
Thank you @Johani for your help on this!
2 Likes
Johani
(Joe)
Closed
March 7, 2020, 10:00am
19
This topic was automatically closed after 34 hours. New replies are no longer allowed.