swarm-lab / editR

A Rmarkdown editor with instant preview
GNU General Public License v3.0
350 stars 30 forks source link

latex equations #11

Closed YZhao0123 closed 8 years ago

YZhao0123 commented 8 years ago

The latex equation seems to be knitted incorrectly, for example: $V_1$ is shown as (V_1) in the preview.

sjmgarnier commented 8 years ago

@RAATSsss This is weird, I do not have this problem here. How old is your editR version? I had fixed this problem a while back now.

sjmgarnier commented 8 years ago

Closing because the bug is not confirmed.

YZhao0123 commented 8 years ago

Sorry sjmarnier, I was pulled off on something else since I posted this problem. I am using editR version 0.2.0.

I tried the latex equation of $V_1$ again, it works fine if I knit it into html or word or pdf but in the editR review it looks like \ (V_1\ ) (there is no space between \ and (, but seems github will swallow the \ without the space)

I am not an expert in either latex or rmarkdown so I am not sure what the problem might be in this situation.

Thanks