mathquill / mathquill

Easily type math in your webapp
http://mathquill.com
Mozilla Public License 2.0
2.61k stars 687 forks source link

Configuring Keywords For StaticMath Fields #1041

Open Ephraim-Bryski opened 5 months ago

Ephraim-Bryski commented 5 months ago

Is it possible to modify the keywords of StaticMath fields, as you would using the config autoOperatorNames for MathField? In particular, I would like a static field without the default keywords (e.g. 'max' and 'min') unitalicized without a backslash in the latex. For exmple, for the code:

<div id="math">ymax=ymin+\delta</div>
<script>
var MQ = MathQuill.getInterface(2)
MQ.StaticMath(document.getElementById("math"))
</script>

the 'max' and 'min' should be kept italicized, along with the 'y'.

Thanks!