I tried to edit this question to reflow the formula, and noticed that MathJax stopped rendering the latex code in preview window. I use Google Chrome 10 on Mac OS X 10.6.6 Also why does this valid formula does not render (I've checked it on TexLive-2010):

    -N-\frac{1}{N}\sum_{j=1}^N (2j-1) \left(\ln\left(\frac{1}{2}+\int_{\bar{x}}^{x_j}

The problem is that it seems that \left( requires the right) without the line-break.

  • $\begingroup$ I'm marking this [status-bydesign] as this appears to be an issue with the MathJax code and not our renderer. $\endgroup$
    – Aarthi
    Oct 26, 2012 at 19:05

2 Answers 2


I'm not sure I follow. I've pasted that TeX below and it's rendering (albeit slowly) in the preview.

\begin{align*} -N-\frac{1}{N}\sum_{j=1}^N (2j-1) \left(\ln\left(\frac{1}{2}+\int_{\bar{x}}^{x_j} \exp\left(-\frac{(t-\bar{x})^2}{2s^2}\right)\mathrm{dt}\right) \ +\ln\left(\frac{1}{2}-\int_{\bar{x}}^{x_{N-j+1}} \exp\left(-\frac{(t-\bar{x})^2}{2s^2}\right)\mathrm{dt}\right)\right) \end{align*}

EDIT: Probably the place to ask is the MathJaX Users Group. Something like this has already been asked I guess that suggests one find another way of doing it (which you have already done and it is far more readable in my opinion).

  • $\begingroup$ are you able to introduce new line before the second logarithm? I've posted the same code in a separate answer with the break. It does not render. $\endgroup$
    – mpiktas
    Apr 1, 2011 at 10:31
  • $\begingroup$ No, I'm not that proficient with TeX. Might be a question for tex.stackexchange.com $\endgroup$
    – Sean Hogan
    Apr 1, 2011 at 10:54
  • 1
    $\begingroup$ they answer MathJax questions? As I said LaTeX renders the formula with the break just fine, the problem seems to me is with MathJax. $\endgroup$
    – mpiktas
    Apr 1, 2011 at 11:08

Hm here is my separate try, note that there should be 4 slashes, not 2: \begin{align*} -N-\frac{1}{N}\sum_{j=1}^N (2j-1) \left(\ln\left(\frac{1}{2}+\int_{\bar{x}}^{x_j} \exp\left(-\frac{(t-\bar{x})^2}{2s^2}\right)\mathrm{dt}\right)\\ +\ln\left(\frac{1}{2}-\int_{\bar{x}}^{x_{N-j+1}} \exp\left(-\frac{(t-\bar{x})^2}{2s^2}\right)\mathrm{dt}\right)\right) \end{align*}


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .