Formula recognition in MATLAB, with scripts for data generation using latex, and precompiled liblinear model files. Run demo.m to recognize the formula in eq.png