Support » Plugin: LaTeX for WordPress » line break tags in equations

  • I am trying to select a MathJax plugin for a professor, and this one seems to come the closest to what he wants. However, he likes to write some formulas like the following:

    {\cal O}(t) = e^{iHt} {\cal O} e^{-iHt} \,,

    With a return after the first square bracket and a second return before the closing backslash.

    However, the equation renders with < br/ > before and after.

    Is there a configuration option that could fix this? Or would the plugin need to be modified?

    I asked him if he could just write the equation on one line:
    \[ {\cal O}(t) = e^{iHt} {\cal O} e^{-iHt} \,, \]

    But he suggested I try a yet another plugin. However, I would prefer to stick with the MathJax plugin with the largest number of downloads.

Viewing 1 replies (of 1 total)
  • The professor I am supporting decided to replace the backslash square bracket syntax with \begin{equation} and \end{equation}.

    This created the additional complication that MathJax was no longer loading. As long as at least one equation used the square brackets, or if I added [latex][/latex], the script then loaded.

    It might be useful to have a checkbox to force loading of MathJax on every page or at least add \begin{equation} as one of the conditional triggers.

Viewing 1 replies (of 1 total)
  • The topic ‘line break tags in equations’ is closed to new replies.