标签: latex
如何使用lstlisting或者其他一些格式化包在LaTeX中输入?
E_{T}= \phi ; sort the edges by their weight, $w(e_1) \le w(e_2) \le \dots \le w(e_m))$; for (i = 1; i \le m; i = i+1) { if ($T+e_i$ contains no cycles) { E_T =E_T+ e_i; } }
答案 0 :(得分:1)
由于它看起来像伪代码,我推荐algorithmicx包。