显示标签为“too many }'s”的博文。显示所有博文
显示标签为“too many }'s”的博文。显示所有博文

2008/03/21

latex文件头定义冲突

没有评论:
在latex中使用ACM proceedings格式文件(acm_proc_article-sp.cls)时,如果用到了algorithm2e的包,编译时会出现:
! Too many }'s.

该冲突可直接在文件开头加入下面5句话解决:

\makeatletter
\newif\if@restonecol
\makeatother
\let\algorithm\relax
\let\endalgorithm\relax