tag:support.markedapp.com,2011-09-11:/discussions/problems/142104-trouble-rendering-latex-sums-in-blockMarked: Discussion 2017-10-11T23:14:33Ztag:support.markedapp.com,2011-09-11:Comment/437259842017-10-11T15:51:50Z2017-10-11T15:51:50ZTrouble rendering LaTeX sums, in $$ / $$ block.<div><p>There are several reasons this can get complex.</p>
<ol>
<li>If you have "retain line breaks in paragraphs" enabled in Processor preferences, it's adding a <code><br></code> that breaks the equation<br></li>
<li>The <code>$$</code> delimiter isn't standard for MultiMarkdown or default MathJax configuration. You'll have to ensure that you have <a href="http://marked2app.com/help/MathJax.html#additionalmathjaxconfiguration">this configuration</a> added.<br></li>
<li>
<p>It <em>can</em> work if you remove the spaces and line breaks around delimiters, even if #1 is true:</p>
<pre>
<code>$$mY_{0,0} = \sum_{m=0}^2 x$$</code>
</pre></li>
<li>
<p>With a couple of possible setups, the markdown characters (in this case <code>_</code> and <code>^</code>) will get rendered before Mathjax gets hold of it, so they need to be escaped:</p>
<pre>
<code>$$
mY\_{0,0} = \sum\_{m=0}\^2 x
$$</code>
</pre></li>
</ol>
<p>Let me know if this helps.</p>
<p>-Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/437259842017-10-11T22:20:37Z2017-10-11T22:20:38ZTrouble rendering LaTeX sums, in $$ / $$ block.<div><p>Thanks!</p>
<p>I replaced “$$” with “\[ <a>smb://[</a>“ / “\] <a>smb://]</a>” and that seems to work.</p>
<p>-db</p></div>David Banastag:support.markedapp.com,2011-09-11:Comment/437259842017-10-11T23:14:33Z2017-10-11T23:14:33ZTrouble rendering LaTeX sums, in $$ / $$ block.<div><p>Yep, at least in multimarkdown.</p>
<ul>
<li>Brett</li>
</ul></div>Brett