\documentclass[12pt]{article} \pagestyle{empty} \begin{document} \begin{displaymath} \rho_i = { { \exp[-\beta U({\bf r}_i)] } \over { \int_{\bf r} { \exp[-\beta U({\bf r}) ] } d{\bf r} } } \end{displaymath} \end{document}
\documentclass[12pt]{article} \pagestyle{empty} \begin{document} \begin{displaymath} \rho_i = { { \exp[-\beta U({\bf r}_i)] } \over { \int_{\bf r} { \exp[-\beta U({\bf r}) ] } d{\bf r} } } \end{displaymath} \end{document}