Relative Content

Tag Archive for google-apps-scriptpdfmathjax

MathJax to PDF: Using Google Script

Here is some code that I use for GoogleScript to send a message back to students with their math work. In particular, line 48 is x<sup>2</sup> and I want it to be in MathJax formatting \(x^2\) where the PDF sent back to students is sent so that 2 is actually in the exponent. I feel like there has to be something else added to have line 48 work. Simply changing it to MathJax leaves it in the MathJax format and does not render it so that 2 is in the exponent.