Render math exercises for your view. Contains the rendering of mathematical formulas and mathematical graphics, as well as the general text
#MathKit
###What's New?
SPMathKit_N.zip
##What MathKit can do?
It will render you your math, physics, chemistry or any science formula,Geometric graphics and pictures, as well as general text.
MathKit used by the rendering engine from the current fastest performance of the best JavaScript mathematical formula rendering engine
MathKit the mathematical formula derived from the code is very simple and very easy to store the Latex code
Based on this, we believe that it will become the most popular science formula and graphics rendering Library ##Why you need MathKit?
KaTeX and MathJax Comparison Demo
Time to process page with Katex = 80~100 ms
Time to process page with MathJax = 900~2000 ms
This shows that Katex faster than MathJax 10 times to 20 times
And MathKit is based on the Katex
engine to achieve
##Usage
MathSubjectView.h
.testStr
attribute assignment, where the object will be copied to the mixture of arbitrary science formulas and pictures of the string.
Note: Here's the formula in the string need to use a tag similar to @math#...@/math#
wrapped up, and the picture will need to use a tag similar to @image#...@/image#
wrapped up, so as to be recognizedIf you still do not know how to use it, then download the code to see it, the package has my prepared sample demo.
##Result