I only know the basics of latex and for some reason I am now getting the following error.
!Missing number, treated as zero.
\let \centering.
The beginning on my code is as follows:
\newtheorem{cor}[thm]{Corollary}
\newtheorem{prop}[thm]{Proposition}
\theoremstyle{definition}
\newtheorem{defn}[thm]{Definition}
\numberwithin{equation}{subsection}
\setlength{\parindent}{0pt}
\begin{document}
\begin{titlepage}
\textheight
\centering
\vspace*{\baselineskip}
\rule{\textwidth}{1.6pt}\vspace*{-\baselineskip}\vspace*{2pt}
I don't understand why I am getting this error for the \centering
line and because of this I am unable to complete quick builds.
Any help would be appreciated.
\textheight
. It is a length, it will have no effect where it is in your code.