algorithm2e无限循环

阅读量: searchstar 2021-11-14 11:26:48
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