I want to set up MathJax so that by default everything is processed as LaTeX math, using slash-paren as the delimiters, and by default nothing is processed as AsciiMath, using backticks as the delimiters. And I want "tex2jax_ignore" as the CSS class to not process LaTeX math, and "has_am" as the CSS class to process AsciiMath.

In MathJax2 I had the following in MathJax.Hub.Config:

 asciimath2jax: {
        ignoreClass: ".*",
        processClass: "has_am"
    },
My understanding is that now I should put that in window.MathJax. I tried that, but it does not seem to have any effect.

Each of the 4 combinations of having/not having the CSS classes tex2jax_ignore/has_am appears in the paragraphs below. Each paragraph says what should happen based on the CSS classes. It seems that the "ignoreHtmlClass" under options applies to both TeX and AsciiMath.




Default (no CSS classes), so processed math: \(y^2\) and unprocessed AsciiMath `t^2`.

p has class "tex2jax_ignore", so unprocessed math: \(x^2\) and the (the default) unprocessed AsciiMath `q^2`.

p has class "has_am", so processed math \(f^2\) and processed AsciiMath: `c^2`.

p has class "tex2jax_ignore" and "has_am", so unprocessed math: \(z^2\) but processed AsciiMath: `w^2`




When I view the above (in Firefox or Chrome), in the first and 3rd lines I see both the TeX and AsciiMath processed. In the 2nd and 4th lines I see neither processed.

\begin{gather*} T_{\text{clk}} \gt t_{\text{clk-Q}} + \max\left( t_{\text{XOR}}, t_{\text{NOT}} \right) + t_{\text{su}} \end{gather*}