\nonstopmode
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
$$
{d \over dx}\tan x=\sec ^{2}x={1 \over \cos ^{2}x}
$$
\end{document}
