Skip to content
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
Closed

the conditional probability equation doesn't display normal #46

soulmachine opened this issue Apr 7, 2013 · 2 comments
Assignees
Labels

Comments

@soulmachine
Copy link

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
Copy link
Owner

Thanks for reporting, this is a known problem.

@gettalong
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants