4
$\begingroup$

Sometimes I have question thumbnail that does not render LaTeX:

enter image description here

I have compared my code with other posts, I do not found differences that can explain this behavior.

What can cause LaTeX or MathJax not to render in thumbnails?

$\endgroup$
  • 1
    $\begingroup$ The $\rm\LaTeX$ is not complete in the excerpt generating the thumbnail, and thus does not compile. $\endgroup$ – Asaf Karagila Dec 4 '18 at 10:05
  • $\begingroup$ Thank you for being reactive. I am sorry I do not understand what you meant? What LaTeX is not complete? I have no LaTeX error within the post itself. $\endgroup$ – jlandercy Dec 4 '18 at 10:07
  • 4
    $\begingroup$ The thumbnail is generated by clipping some part of the question. This clipping does not contain the entire $\rm\LaTeX$ code, and therefore does not compile. $\endgroup$ – Asaf Karagila Dec 4 '18 at 10:09
  • $\begingroup$ Ok, this makes sense. Thus having a long LaTeX code at the beginning of the post lead to cropped LaTeX and does not render. Thank you it is clear now. I you mind making it an answer I will be glad to accept it. $\endgroup$ – jlandercy Dec 4 '18 at 10:12
3
$\begingroup$

The thumbnail is generated by cropping part of your question. Since the $\rm\LaTeX$ is not fully within that cropped part, the code does not compile.

One could argue in favor of changing the code of the excerpt generator to always complete the $\rm\LaTeX$ code if the crop happens halfway through it, but this opens up a few different problems. For example people using align environment or other multiline environment that would end up taking far more display real estate than originally intended.

$\endgroup$
  • $\begingroup$ I will not argue about this, I am glad to understand how I could circonvolve the "issue". Thank you for making it an answer. $\endgroup$ – jlandercy Dec 4 '18 at 10:24

You must log in to answer this question.

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