现在的位置: 首页 > 综合 > 正文

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

2014年04月11日 ⁄ 综合 ⁄ 共 216字 ⁄ 字号 评论关闭
在latex中使用elsart格式文件时,如果用到了algorithm2e的包,
编译时会出现:
! Too many }'s.
l.1616     }

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

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

抱歉!评论已关闭.