您的位置:首页 > 其它

在latex的指定位置插入图表

2012-06-23 17:02 218 查看
1.在指定位置插入图:

用float宏包的H选项;用\centering,不要用center环境。修改如下,前两行要加到导言区(不加也行)。后面的图片放到要加入位置即可。

\usepackage{float}

\usepackage{graphix}

\begin {figure}[H]

\centering

\includegraphics[width=7cm]{endpoint.eps}

\caption{Endpoint detection}

\end {figure}

2.在指定位置插入表格:

在\begin{table}后边加上一个[H]就行了,例如:

\begin{table}[H]

\centering \caption{Comparison between IMM, AIMM and TS\_PF in means of RMSE and runtime}

\label{lab:2}

\begin{tabular}{|c|c|c|c|}

\hline

Algorithm & IMM & AIMM & $TS\_PF$\\\hline

Means of RMSE(50times) & 5.2817 & 4.9732 & 3.9863\\\hline

runtime(s) & 3.4769 & 3.867 & 3.0243\\\hline

\end{tabular}

\end{table}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: