表格一直是上面这种形式,是因为在document之前导包出现错误,不可以使用subcaption 和subfig宏包,应该使用subfigure宏包
===================================
表格插入代码
\begin{table*}[htbp] \centering \caption{Time Delay } \label{tab:abnormal Delay} \fontsize{5}{7}\selectfont \resizebox{1.0\textwidth}{!}{ \begin{tabular}{cccccccccc} \hline \multicolumn{1}{l}{\multirow{2}{*}{}} & \multicolumn{4}{c}{AnomalyA} & \multicolumn{4}{c}{AnomalyB} \\ \multicolumn{1}{l}{} & Accuracy & Precision & F1 & AUC & Accuracy & Precision & F1 & AUC\\ \hline CNN1(方法名) & 数值 & 数值 & 数值 & 数值 & 数值 & 数值 & 数值 & 数值\\ CNN 2 & 数值& 数值 & 数值 & 数值 & 数值 & 数值 & 数值 & 数值 \\ CNN 3 & 数值 & 数值 & 数值 & 数值 & 数值 & 数值 & 数值 & 数值\\ CNN 4 & 数值 & 数值 & 数值 & 数值 & 数值 & 数值 & 数值 & 数值\\ TNC & 数值 & 数值 & 数值 &数值 & 数值 & 数值 & 数值 &数值\\ TS-TCC & 。。 & 。。 & 。。 &。。 & 。。 & 。。 & 。。&。。\\ \textbf{ReDL} &\textbf{数值} &\textbf{ 数值} & \textbf{数值} &\textbf{数值} & \textbf{数值} & \textbf{数值} & \textbf{数值} &\textbf{数值}\\ \hline \end{tabular} } \end{table*}
图片插入代码
/* Latex代码 */ \begin{figure*}[htbp] \vspace{-0.3cm} \centering \includegraphics[width=1.2\columnwidth]{framework.eps} %\includegraphics{framework.pdf} %\setlength{\belowcaptionskip}{-1cm} %\vspace{-0.3cm} \caption{The architecture of ReDL.} \label{framework} \end{figure*}
插入子图的代码
/* Latex代码 */ \begin{figure*}[h] \centering \subfigure[]{ \label{fig:lstm} \includegraphics[width = 0.3\linewidth]{PCtcp.eps} } \centering \subfigure[]{ \label{fig:msemas} \includegraphics[width = 0.3\linewidth]{PCudp.eps} } \centering \subfigure[]{ \label{fig:msemas} \includegraphics[width = 0.3\linewidth]{WSLudp.eps} } \caption{The picture shows the predicted results and ground truth with prediction length H=12 on different datasets. (a) PCtcp (b) PCudp (c) WSLudp.} \label{predLens} \end{figure*}