algorithmic包是比较老的包,与algpseudocode不兼容。
正确使用方法:
\usepackage{algorithm} |
用algorithmicx替代algorithmic。
algorithmic里的伪代码都是大写的,algorithmicx里的伪代码是驼峰命名的,
例如algorithmic里的\ENDIF
在algorithmicx里是\EndIf
。
algorithmicx文档:https://ctan.org/pkg/algorithmicx
algorithmic包是比较老的包,与algpseudocode不兼容。
正确使用方法:
\usepackage{algorithm} |
algorithmic里的伪代码都是大写的,algorithmicx里的伪代码是驼峰命名的,
例如algorithmic里的\ENDIF
在algorithmicx里是\EndIf
。
algorithmicx文档:https://ctan.org/pkg/algorithmicx
Except as otherwise noted, this blog is licensed under CC BY-SA 4.0 License.
©2021-
searchstar
|
pv
|
uv
Theme Tree
by Wu Jun
Powered by Hexo