\documentclass[12pt]{article} \pagestyle{empty} \begin{document} $$ \omega_{ij} = 1 - \frac{r_{ij}}{r_{c}} $$ \end{document}