algorithm2e无限循环

阅读量: searchstar Created: 2021-11-14 11:26:48 Updated: 2021-11-14 11:44:54
Categories: Tags:
\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