Code: Select all
%\documentclass[12pt]{article} % tocloft works with this
\documentclass[12pt]{amsart} % tocloft doesn't work with this
\usepackage{tocloft}
\begin{document}
\tableofcontents
\section{Test}
sdfsdfsdf
\subsection{testsub}
dfsdfsdf
\end{document}
Code: Select all
! Missing } inserted.
<inserted text>
}
l.6 \tableofcontents
I'd like to use amsart with tocloft so that I can have a nice table of contents in my mathematical article. I've searched the forums and the web for a solution to this problem, but no luck. (In fact, if you google "amsart tocloft" you get someone with my exact same problem and no solution is given.) Any ideas?