\documentclass[12pt]{article}
\usepackage[margin=1in]{geometry}
% \usepackage[spanish]{babel}
% \AtBeginDocument{\selectlanguage{spanish}}

\begin{document}
$body$
\end{document}
