Child pages
  • Probability - "A given B"
Skip to end of metadata
Go to start of metadata

This looks rubbish:

\[ P(X_t > a | X_t > 0) \]
LaTeX Markup problem

Show/Hide latex markup

Show/Hide latex error

But this looks great:

\[ P(X_t > a \mathbin{\vert} X_t > 0) \]
LaTeX Markup problem

Show/Hide latex markup

Show/Hide latex error

The macro \mathbin turns its argument into a binary operator like +, which gives it extra spacing.

  • No labels

1 Comment

  1. If you are using the amssymb or amsfonts, then \mid can replace \mathbin{\vert}