I have copied and pasted the following code from a previous overleaf project to create an APA style document. It worked just fine before, but now it does not compile. Any help would be appreciated...
\documentclass[a4paper,man,floatsintext,natbib]{apa7}
%\clubpenalty = 10000
%\widowpenalty = 10000 \displaywidowpenalty = 10000
\usepackage[section]{placeins}
\usepackage{comment}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{enumitem}
\setlist{noitemsep}
\usepackage{booktabs}
\title{Thesis}
\author{Nicolas}
\affiliation{University x}
\begin{document}
\pagenumbering{roman} % Start roman numbering
\shorttitle{ }
\maketitle
\tableofcontents
\newpage
\setcounter{secnumdepth}{3}
\pagenumbering{arabic} % Start page numbering
\section{Introduction}
\end{document}
utf8x– samcarter_is_at_topanswers.xyz Dec 02 '22 at 15:10