用latex模板撰写论文算法步骤图排版的问题
2014-03-12 22:01
681 查看
我用的是elsevier的latex模板,但是在 algorithm标记写算法步骤图时,排版出现问题,这个步骤图总是排到论文的最后,详细标记如下:
\begin{algorithm}[t]
\label{alg:aa}
\caption{aa}
\textbf{Input}:\
\begin{itemize}
......
\end{itemize}
\textbf{Output}:\
\end{algorithm}
后来网上查询,问题解决,更改如下:
\begin{algorithm}[htbp]
\label{alg:aa}
\caption{aa}
\textbf{Input}:\
\begin{itemize}
......
\end{itemize}
\textbf{Output}:\
\end{algorithm}
关于\begin{algorithm}[htbp] 中的参数t 或者 htbp,还有待仔细查看用法。待续......
\begin{algorithm}[t]
\label{alg:aa}
\caption{aa}
\textbf{Input}:\
\begin{itemize}
......
\end{itemize}
\textbf{Output}:\
\end{algorithm}
后来网上查询,问题解决,更改如下:
\begin{algorithm}[htbp]
\label{alg:aa}
\caption{aa}
\textbf{Input}:\
\begin{itemize}
......
\end{itemize}
\textbf{Output}:\
\end{algorithm}
关于\begin{algorithm}[htbp] 中的参数t 或者 htbp,还有待仔细查看用法。待续......
相关文章推荐
- 用Latex排版论文(2)《自动化学报》Latex模版使用时需要注意的问题
- 代码添加用Latex排版论文(2)《自动化学报》Latex模版使用时需要注意的问题
- LaTeX 排版问题之算法设计
- 用Latex排版论文(4)《大连海事大学硕博学位论文Latex模板》中算法排版例子(添加中文输入和输出)
- Latex排版论文的过程中遇到的一些编译问题及解决方案
- Latex 算法的排版问题
- 算法模板之01背包问题
- 矩阵模板 51nod 算法马拉松分解问题
- 浅谈以数据结构的视角去解决算法问题的步骤
- Latex论文模板修改目录
- 【LaTeX排版】LaTeX论文模版
- LATEX论文排版学习资源汇总
- RMQ问题ST算法与模板(2007-07-15 15:48)
- 用Latex排版论文(1)如何将Visio画图文件转换成Latex支持的.eps文件
- 使用LaTeX按IEEE模板写论文时的参考文献管理方法(BibTeX使用小结)
- 用Latex排版论文(3)《控制与决策》初稿LaTex模版编译出现"\bibname undefined"解决办法
- latex算法排版——如何把require变成input
- 设计技巧15:模板方法 Template Method 在一个方法中定义一个算法的骨架,而将一些步骤延迟的子类中,实现Ioc
- 【LaTeX排版】LaTeX论文模版
- 简洁清爽的LaTeX论文模板