```tex \documentclass[11pt]{article} \usepackage{CJK} \usepackage[top=2cm, bottom=2cm, left=2cm, right=2cm]{geometry} \usepackage{algorithm} \usepackage{algorithmicx} \usepackage{algpseudocode} \usepackage{amsmath} \floatname{algorithm}{Algorithm} \begin{document} \begin{CJK*}{UTF8}{gkai} \begin{algorithm} \caption{} \begin{algorithmic}[1]%每行显示行号 %for loop % \begin{minipage}[t]{0.9\linewidth} \For {every time step {$T_C$}} \State Intelligent clustering and association step (performed in the network orchestrator module): \State perform clustering with constrained k-means on cell sites to identify N clusters $(C= \{C_1, C_2,C_3, \cdots \cdots C_N \}) $ based on the predicted value of traffic load T and user access times UAT of each cell sites; \EndFor % \end{minipage} \end{algorithmic} \end{algorithm} \end{CJK*} \end{document} ``` ![](https://pics.latexstudio.net/data/images/201912/f17795a1ac90cd3.png)

1 回答1

0
参考 https://tex.stackexchange.com/a/314172/79060
  • 谢谢大佬了,非常感谢 – youwozuozhu 2019-12-06 09:51 回复
  • 通过放入到一个表格里面确实挺方便,简单直接。 – zongxian 2019-12-05 17:59 回复

你的回答

请登录后回答

你的回答将会帮助更多人,请务必认真回答问题。