- #1
kiuhnm
- 66
- 1
The support for ##\LaTeX## is great, but there's just one thing I don't like: if I put a newline after the closing \$$ I get too much vertical space after the rendered part. For instance:
$$(x_1+\ldots+x_p)^n = \sum_{c_1+\ldots+c_p=n} \frac{n!}{c_1!\cdots c_p!}x_1^{c_1}\cdots x_p^{c_p}$$
As you can see, there's a space right above this line.
I think the correct thing to do would be to remove all the superfluous newlines before the opening and after the closing \$$.
Things are even worse if I want to separate ##\LaTeX## formulas from the rest of the text in the source code:
$$(x_1+\ldots+x_p)^n = \sum_{c_1+\ldots+c_p=n} \frac{n!}{c_1!\cdots c_p!}x_1^{c_1}\cdots x_p^{c_p}$$
Now I also have a space before the rendered formula.
$$(x_1+\ldots+x_p)^n = \sum_{c_1+\ldots+c_p=n} \frac{n!}{c_1!\cdots c_p!}x_1^{c_1}\cdots x_p^{c_p}$$
As you can see, there's a space right above this line.
I think the correct thing to do would be to remove all the superfluous newlines before the opening and after the closing \$$.
Things are even worse if I want to separate ##\LaTeX## formulas from the rest of the text in the source code:
$$(x_1+\ldots+x_p)^n = \sum_{c_1+\ldots+c_p=n} \frac{n!}{c_1!\cdots c_p!}x_1^{c_1}\cdots x_p^{c_p}$$
Now I also have a space before the rendered formula.