\newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}{Corollary}[theorem] \begin{document} \maketitle % ---------------------------------------------------------- % ---------------------------------------------------------- % ---------------------------------------------------------- \section{} %Problem 1 \subsection{Prompt} \kant% \noindent\rule{2in}{0.4pt} % ---------------------------------------------------------- % ---------------------------------------------------------- % ---------------------------------------------------------- \end{document}