【发布时间】:2010-03-28 20:10:54
【问题描述】:
我使用 \documentclass{amsmath} 有一段时间没有问题,但我最近想切换到普通的 \documentclass{article},因为我觉得它看起来更好。但是,现在我的 \tableofcontents 命令产生了这个错误:
! Undefined control sequence.
<argument> \tocsection
{}{1}{Purpose}
l.1 ...ne {section}{\tocsection {}{1}{Purpose}}{4}
?
我正在用乳胶写一篇研究论文,目的是第一部分(我使用的命令是\section{Purpose})。就是说第 1 行有错误,即\documentclass{article}。谁能帮我解决这个错误?
【问题讨论】:
-
你试过删除
.toc文件吗? -
@Svante:我认为 \documentclass 不应该查看 .toc 文件;只有 \tableofcontents 应该从该文件中读取。
标签: latex