algorithm2e无限循环

\documentclass{article}
\usepackage{algorithm2e}
\begin{document}
\thispagestyle{empty}

\SetKwFor{Loop}{Loop}{}{EndLoop}

\begin{algorithm}
  \Loop{}{Statement\;Statement\;}
\end{algorithm}
\end{document}

原文:https://tex.stackexchange.com/questions/148414/infinite-loop-with-algorithm2e

posted @ 2024-09-28 14:07  寻找繁星  阅读(1)  评论(0编辑  收藏  举报