工程開發 Engineering > :hamburger: 前端架構 Front-End Stack > 數學公式前端 Math Latex

繁體 | 简体 | English


數學公式前端 Katex


Latex

% \f is defined as f(#1) using the macro
\f{x} = \int_{-\infty}^\infty
    \hat \f\xi\,e^{2 \pi i \xi x}
    \,d\xi

Katex

katex.renderToString:

var html = katex.renderToString("c = \\pm\\sqrt{a^2 + b^2}", {
    throwOnError: false
});
// '<span class="katex">...</span>'

MathJax

MathML