Code: Select all
[latex]\sqrt{4} = 2[/latex]
You need to copymirrormirror wrote:Hello! I installed mathjax successfully and wrote a test topic with the sample code:
however it only displays the [math] text instead of the rendered thing. any idea what's wrong?Code: Select all
[latex]\sqrt{4} = 2[/latex]
this is the link of the post:
http://185.2.102.33/koinoniko-frontisti ... hp?f=3&t=3
can someone tell if something's wrong ?
styles/prosilver/template/mathjax.html
to styles/subsilver2/template/mathjax.html
.No good reasonmuggins wrote:Sergio, why is this still Alpha? The mod works with no errors...
Basic style configuration and permission checks on key files.muggins wrote:Good to hear! What remains?
Now it uses and is fully dependent on the bbcode system, so onlyarack wrote:Hi, i'm using your plugin, but i wanted to use \( .. \) and \[ .. \] for writing latex code.
I read that but it seems you made some changes in the meanwhile
What should I do?
Marco
[abc]1+1[/abc]
is supported.Code: Select all
<script type="text/x-mathjax-config">
MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
MathJax.InputJax.TeX.prefilterHooks.Add(function (data) {
if (!data.display) {data.math = "\\displaystyle{"+data.math+"}"}
});
});
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Register.StartupHook("mml Jax Ready", function () {
MathJax.ElementJax.mml.math.prototype.defaults.scriptsizemultiplier
= .8;
MathJax.ElementJax.mml.math.prototype.defaults.scriptminsize =
"12px";
});
</script>
<script type="text/javascript" src="../../mathjax/MathJax.js?config=TeX-AMS_HTML-full"></script>
styles/prosilver/template/mathjax.html
.MathJax's CDN instead of hosting the javascript