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

About

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

To view this on TripleLog, click here.

HTML

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

CSS

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.

JavaScript

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