tinoryj / UESTC-Thesis-Latex-Template

UESTC Thesis Latex Template 2023. It fully supports the latest format specification in 2023, supports independent symbol table, abbreviation table, and complete and fully customizable Academic/Professional-Master/PhD covers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

可以支持伪代码的编写吗

ZouTaooo opened this issue · comments

我参照网上的伪代码编写教程试了一下 会报错 不知道怎么处理,在这个模板里有伪代码的使用方法吗 lei'si类似于下图这种
image

\begin{algorithm}[H]
\KwData{this text}
\KwResult{how to write algorithm with \LaTeX2e}
initialization;
\While{not at end of this document}{
read current;
\eIf{understand}{
go to next section;
current section becomes this one;
}{
go back to the beginning of current section;
}
}
\caption{How to wirte an algorithm.}
\end{algorithm}

image