latex undefined control sequence with tableofcontents

Posted by munchybunch on Stack Overflow See other posts from Stack Overflow or by munchybunch
Published on 2010-03-28T20:10:54Z Indexed on 2010/03/28 20:13 UTC
Read the original article Hit count: 441

Filed under:

I was using \documentclass{amsmath} for awhile with no issues, but I recently wanted to switch to the normal \documentclass{article} because I thought it looked nicer. However, now my \tableofcontents command produces this error:

! Undefined control sequence.
<argument> \tocsection 
                       {}{1}{Purpose}
l.1 ...ne {section}{\tocsection {}{1}{Purpose}}{4}

?

I'm writing a research paper with latex, and Purpose is the first section (the command I'm using is \section{Purpose}). It's saying line 1 has the error, which is \documentclass{article}. Can anyone help me with this error?

© Stack Overflow or respective owner

Related posts about latex