Parse LaTeX Squares
Output Readme Download Replit Sel. & Copy Full


This repl handles a few scenarios where a trig function is raised to a power.

To view this on TripleLog, click here.


The HTML is a simple input/output to change a string of text.


Add CSS by editing the style.css file that is linked to in the head section or inline edit the style section in the head.


The script.js file looks for "^" preceded by a trig function and tries to move the power to after the () or {}.