Modified the Display Method for Formulas (Mobile)

By 苏剑林 | December 24, 2015

Mobile Terminal

Due to reader Li xiaobo once again reporting that the site's formulas have poor support on mobile devices, I have made some modifications to the display of formulas on the website. If you are browsing with a computer, you should not notice any changes to the site. However, if you are browsing via a mobile terminal, you should find that formulas originally parsed by MathJax have turned into image-based formulas.

That's right, this is a very compromise-based solution: the site identifies the client, and if it is a mobile device, it uses the image-based formula display method. So far, no errors have been found with image formulas on mobile terminals (please test this). This method has some drawbacks; for example, image-based formulas are not as aesthetically pleasing, and Chinese characters within formulas cannot be displayed.

The formulas make calls to http://latex.codecogs.com/gif.latex, and I express my gratitude to them. Everyone is welcome to test and provide feedback on issues at: http://bbs.spaces.ac.cn/topic/show/9