\nonstopmode
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
$$
\left ({fg}\right )'=f'g+fg'
$$
\end{document}
