Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
目前模板使用的是经过修改的algorithm2e宏包,支持伪代码关键字的中文翻译。但它会把for, if, while等常用关键字统统翻译成中文,读起来非常别扭。我修改了algorithm2e,把algorithm2e更新为5.2版本,加入了documentclass参数,可以选择全部翻译为中文,仅翻译“输入”、“输出”等而不翻译if else,全部不翻译保留英文。使用algo-cn-nokw参数选择仅翻译关键字,algo-en选择全部不翻译保留英文。默认与当前行为一致,即全部翻译为中文。