I'm converting a document to LaTeX for a friend and it has the following equation:
I've asked him if it's correct and he says it is (I'm not an engineer/mathematician). The author is good at what he does but doesn't care too much about presentation – he used Epsilons to represent the IN SET \in
symbol.
I've come up with the following LaTeX code for it:
\begin{equation}
C\left(P_{s1}, P_{s2} \right) = \frac{\left| \left\{\left. y \in P_{s2} \right| \exists x \in P_{s1}:x > y \right\} \right|}{\left| P_{s2} \right|}
\end{equation}
Which gives the following:
My concern is with accuracy; Are the absolute (mathematics) symbol and the OR (logic) symbol represented the same way in LaTeX? Is there a standard way to allow the reader to differentiate them?
\mid
that adds suitable space around it. Remove all\left
and\right
that do nothing good and, probably, changes1
ands2
intos_{1}
ands_{2}
, unless these are really double indices like for matrices. – egreg Mar 29 '18 at 8:37