New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the conditional probability equation doesn't display normal #46

Closed
soulmachine opened this Issue Apr 7, 2013 · 2 comments

Comments

Projects
None yet
2 participants
@soulmachine

soulmachine commented Apr 7, 2013

the equation is as follows,
$P(X)=P\left(X | Y_1\right)$

the vercial bar will be converted to <td>, which prevent mathjax to display it normally.

unless I write it as follows:
$P(X)=P\left(X \vert Y_1\right)$

@ghost ghost assigned gettalong Apr 7, 2013

@gettalong

This comment has been minimized.

Owner

gettalong commented Apr 7, 2013

Thanks for reporting, this is a known problem.

@gettalong

This comment has been minimized.

Owner

gettalong commented Jun 15, 2014

I will update the syntax documentation and mention the problem with the pipe symbol there, as well as mention that the \vert command should be used instead since they are equivalent.

This does not fix this problem in kramdown but in the LaTeX code which should be sufficient for all practical purposes.

Pull request #23 would probably fix this but in a backwards incompatible way. Since there are other situations like #135 where a pipe symbol also causes problems, a general solution would probably be quite complex.

@gettalong gettalong closed this Jun 15, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment