\documentclass[preview,border=1pt]{standalone}
\usepackage{amsmath,amssymb,amsthm}


\begin{document}

It can be shown that
\begin{equation}
e^{i\pi}+1=0. \label{eq:myequation}
\end{equation}
The identity \eqref{eq:myequation} is \emph{Euler's identity.}
\end{document}