Hi,
you can include MathJab into Limesurvey.
My first try.
But you have to find a workaround regarding curly brackets.
They are used as delimiters in Expression Manager.
So formulas with curly brackets won't work.
Maybe you can customize MathJab accordingly.
Till now I was not successful using the AsciiMath Input.
Not with AsciiMath, but with the curly brackets.
Joffm
At the moment it is a rough prototype.
I only included the example into the sourcecode of the question and masked the curly brackets:
Code:
<script>
MathJax = {
tex: {
inlineMath: [['$', '$'], ['\\(', '\\)']]
}
};
</script><script id="MathJax-script" async
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js">
</script>
and the question text:
<p>When
\(a \ne 0\), there are two solutions to
\(ax^2 + bx + c = 0\)</p>
<p>and they are</p>
<p><span style="font-size:22px;">
\(x = \{-b \pm \sqrt\{b^2-4ac\} \over 2a\}.\)</span></p>