Code: Select all
\documentclass[12pt,a4paper]{article}
\usepackage[ascii]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\begin{document}
\title{Literature Review}
\author{Riku Raisanen}
\maketitle
\newpage
\tableofcontents
\newpage
\part*{Introduction}
\addcontentsline{toc}{part*}{Introduction}
text
\part{1}
text
\end{document}
"Something's wrong--perhaps a missing \item. \contentsline {part}{I\hspace {1em}1}{3}"
for line 2 when I LaTex it more than once. I'm guessing it's a conflict between the ToC and the "\addcontentsline" command.
Thanks