Files
Chamilo/main/inc/lib/javascript/asciimath/asciimathsample.html
T
Xes 73154ae174
Behat tests 1.11.x 🐞 / PHP 7.4 Test on ubuntu-latest (push) Canceled after 0s
PHP-CS-Fixer / composer_install (7.4) (push) Canceled after 0s
Chamilo 1.11.40 (ZIP oficial v1.11.40)
Fuente: https://github.com/chamilo/chamilo-lms/releases/download/v1.11.40/chamilo-1.11.40.zip
sha256: 1cf4bf2cc7bae1ef1a1eff643235db1d552f78ddf4b6dd1e2d2dac9868679439
Snapshot independiente (rama huerfana); diffable vs 1.11.38. vendor incluido.
2026-08-06 17:59:45 +02:00

38 lines
860 B
HTML

<html xmlns:mml="http://www.w3.org/1998/Math/MathML">
<head>
<script type="text/javascript" src="ASCIIMathML.js"></script>
<title>ASCIIMathML sample page</title>
</head>
<body>
<h2>ASCIIMathML.js sample page</h2>
<p>
Use auto-math-recognize mode (amath here x^2 and text is
mixed endamath) or surround ASCIIMath formulas
with left-quotes:
`sum_(i=1)^n i=(n(n+1))/2` or LaTeX formulas with \$-signs
$\int_0^{\pi/2} \sin x\,dx=1$.
</p>
<p>
And here is a simple graph:
agraph plot(sin(x)) endagraph
followed by a more elaborate graph (try double-clicking it, also
while holding down shift or alt)
agraph
width=300; height=200; xmin=-5; xmax=5; xscl=1;
plot((x-2)*(x-1)*x*(x+1)*(x+2)/2,-2.5,2.5);
endagraph
</p>
<p>
Note: this page uses a relative link to ASCIIMathML.js,
so the script should be in the same folder as this sample file.
</p>
</body>
</html>