PDA

View Full Version : Better Math Formulas Now Available on TestGuy



testguy
December 16, 2021, 08:16 AM
We are pleased to announce the integration of MathJax into TestGuy, allowing users to better read and write math equations across the platform. To put mathematics in your post, you can use TeX and LaTeX notation, MathML notation, AsciiMath notation, or a combination of all three within the same text.

The default math delimiters are:


$$...$$ and \[...\] for displayed mathematics, and \(...\) for in-line mathematics.
Note in particular that the $...$ in-line delimiters are not used by default.

The following code example:


When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are
\[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\]

Will output: When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are \[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\]

The equation above should display in most browsers. Please let us know if you have problems using this new feature. Existing formulas across the platform will be updated over time.

For more information on how to use MathJax, check out the resources below:

https://en.wikibooks.org/wiki/LaTeX/Mathematics
https://docs.mathjax.org/en/latest/basic/mathematics.html