Latex插入伪代码
来源:互联网 发布:淘宝海报背景素材 编辑:程序博客网 时间:2024/04/27 21:15
%\floatname{algorithm}{Alg. }%自己命名首行开头显示内容\renewcommand{\algorithmicrequire}{\textbf{Input:}}%Input\renewcommand{\algorithmicensure}{\textbf{Output:}}%Output\begin{center}\begin{minipage}{0.8\textwidth}%宽度调整\begin{algorithm}[H]%\footnotesize%字体大小\caption{One Greedy Algorithm}%首行显示算法名称\begin{algorithmic}[1]%行编号,从Input, Output后面开始\Require Point Set $P\subseteq \mathbb{R}^{d}$; the threshold $\delta$.%输入Input\Ensure A subset $U$ of $P$. %输入Output\For{$t=1$ to $T$}\If {$t=1$}\State Initialize the classifier with parameter set $w_1$\ElsIf {$t=2$}\State Store target observation corresponding to $z_t$\Else\State $t\leftarrow t+1$\EndIf\EndFor\end{algorithmic} \end{algorithm}\end{minipage}\end{center}
显示结果为
0 0
- latex插入伪代码
- Latex插入伪代码
- Latex 插入伪代码
- latex中插入伪代码
- 【转】LaTeX插入伪代码1
- 【转】LaTeX插入伪代码2
- 如何在word中插入latex公式和伪代码
- LaTeX/Algorithms 伪代码
- LaTeX写伪代码
- LaTeX/Algorithms 伪代码
- latex伪代码
- Latex插入Matlab代码
- latex插入代码
- latex插入python代码
- 用Latex写伪代码
- 插入排序伪代码
- Latex中插入C代码
- latex中插入matlab代码
- xargs用法详解
- 文件重定向,getline()获取一样,屏幕输出流,格式控制符dec,oct,hex,精度控制setprecision(int num),设置填充,cout.width和file(字符),进制输入
- 制作yaffs2文件系统映像文件
- 加速计:CMMotionManager的pull , 直接开始采样
- Android-----WebView使用
- Latex插入伪代码
- Google Guava 工具集__3__ Ordering犀利的比较器 Object方法
- C语言字节对齐详解
- 个人记事
- 內置框架也能使用Lightbox
- Linux启动过程
- Ubantu 12.04 安装theano + pylean2
- php 对象和设计
- 图像的监听 , 和图片选择器的的使用