Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does MathJax support TeX macros?

macros mathjax support TeX
0
Posted

Does MathJax support TeX macros?

0

Yes. You can define TeX macros in MathJax the same way you do in LaTeX with \newcommand{cmd}{args}{def}. An example is \newcommand{\water}{H_{2}O}, which will output the chemical formula for water when you use the \water command. \renewcommand works as well.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123