`
javatgo
  • 浏览: 1120314 次
  • 性别: Icon_minigender_2
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

latex中使用elsart格式时algorithm2e包的问题

阅读更多
在latex中使用elsart格式文件时,如果用到了algorithm2e的包,
编译时会出现:
! Too many }'s.
l.1616 }

这是由于elsart自己的算法包和algorithm2e的包冲突,可以直接在文件开头加入
下面5句话,即可正常运行。

\makeatletter
\newif\if@restonecol
\makeatother
\let\algorithm\relax
\let\endalgorithm\relax
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics