Skip to main content

Hi, would it be possible to have support for Latex Math symbols? To have our industry solutions team share content in our community this would be needed. Anyone else out there with this need also? 

Hi @Anitahg, thanks for submitting this idea!

There also is a workaround for this which might work for you. Your team could embed a third-party script (under Customization > Third-party Scripts), that renders Latex symbols in submitted posts. There are existing solutions out there for this, e.g. https://mathjax.org (see http://docs.mathjax.org/en/latest/web/configuration.html#configuration-using-an-in-line-script).


Updated idea statusNewOpen

Thanks @janina.woita I will try the workaround first. Thanks again!

 


You can add this script for the Latex Math library:
 

<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<script>
MathJax = {
chtml: {
scale: 1, // global scaling factor for all expressions
minScale: .5, // smallest scaling factor to use
mtextInheritFont: false, // true to make mtext elements use surrounding font
merrorInheritFont: false, // true to make merror text use surrounding font
mtextFont: '', // font to use for mtext, if not inheriting (empty means use MathJax fonts)
merrorFont: 'serif', // font to use for merror, if not inheriting (empty means use MathJax fonts)
unknownFamily: 'serif', // font to use for character that aren't in MathJax's fonts
mathmlSpacing: false, // true for MathML spacing rules, false for TeX rules
skipAttributes: {}, // RFDa and other attributes NOT to copy to the output
exFactor: .5, // default size of ex in em units
displayAlign: 'left', // default for indentalign when set to 'auto'
displayIndent: '0' // default for indentshift when set to 'auto'
}
};
</script>