Open floswald opened 5 years ago
I ran into a similar problem recently that had to do with backslash escaping weirdness.
Note that when it gets rendered, the \\
separating the two lines becomes a single \
.
Thus, in your markdown, your line separator \\
should instead be \\\
, and then it'll work right.
hey, thanks for that hint. i get a bit further now, but still weird.
# The basics
$\alpha$
\\[\alpha + \beta\\]
\\[\begin{array}{cc}
a & b \\\
c & d
\end{array}\\]
Many problems occur when I just tried to type several simple formulae. like subscripts $$\sigma_x = \frac{1}{2}$$ will not be displayed correctly.
I think you need to escape the underscore.
Try
\sigma_x
On Sat 12 Oct 2019 at 16:49, LiukDiihMrau notifications@github.com wrote:
Many problems occur when I just tried to type several simple formulae. like subscripts $$\sigma_x = \frac{1}{2}$$ will not be displayed correctly.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gnab/remark/issues/551?email_source=notifications&email_token=AAHZM5TGWQPMOKG4DHQC7M3QOHPX3A5CNFSM4GKHJOMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBCBBAY#issuecomment-541331587, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHZM5THE3PQNEMJXQBQOIDQOHPX3ANCNFSM4GKHJOMA .
Also I think I remember that you need to put multi line latex environments on one markdown line inside $$ delims. Linebreaks after a \ for example will not work. That’s what I found with R xaringan package at least (that uses remark)
On Sat 12 Oct 2019 at 17:15, Florian Oswald florian.oswald@gmail.com wrote:
I think you need to escape the underscore.
Try
\sigma_x
On Sat 12 Oct 2019 at 16:49, LiukDiihMrau notifications@github.com wrote:
Many problems occur when I just tried to type several simple formulae. like subscripts $$\sigma_x = \frac{1}{2}$$ will not be displayed correctly.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gnab/remark/issues/551?email_source=notifications&email_token=AAHZM5TGWQPMOKG4DHQC7M3QOHPX3A5CNFSM4GKHJOMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBCBBAY#issuecomment-541331587, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHZM5THE3PQNEMJXQBQOIDQOHPX3ANCNFSM4GKHJOMA .
I have run into some issues where in some of my slides, $$\sigma_{x + 1} = \frac{1}{2}$$
works, but in others I need to escape the underscore as in $$\sigma\_{x + 1} = \frac{1}{2}$$
hi there,
I have this index.html:
and I have this .md
but the environment stuff never works:
any ideas?