\documentclass[12pt]{article}

\input{inputfile}

\begin{document}
\begin{LRmath}

Text, Text, Text

\begin{equation}
    \PP[x\le y] = \E[x]{\max(y-x,0)/(y-x)}
\end{equation}

Text, Text, Text

\end{LRmath}
\end{document}
