更改文章板式
\documentclass{IEEEtran}
\documentclass{article}
插入图片
\usepackage{graphicx} %图片插入导入包
\ref{fig:repair}
\begin{figure}[h!]
\centering
\includegraphics[width=0.9\linewidth]{repair}
\caption{repair error}
\label{fig:repair}
\end{figure}
画表效果如下:
代码如下:
\usepackage{multirow} 导入包
\begin{table}[h!]
\centering
\begin{tabular}{c|c|c|c }
\hline
N & errors & Dir & Cls \\
\hline
\multirow{6}*{8} & 1321313 & 12312332 & 12313 \\
\cline{2-4}
& 12312332 & 12313\\
\cline{2-4}
& 12312332 & 12313\\
\cline{2-4}
& 12312332 & 12313\\
\cline{2-4}
& 12312332 & 12313\\
\cline{2-4}
& 12312332 & 12313\\
\hline
\multirow{6}*{16} & 1321313 & 12312332 & 12313 \\
\cline{2-4}
& 12312332 & 12313\\
\cline{2-4}
& 12312332 & 12313\\
\cline{2-4}
& 12312332 & 12313\\
\cline{2-4}
& 12312332 & 12313\\
\cline{2-4}
& 12312332 & 12313\\
\hline
\multirow{6}*{32} & 1321313 & 12312332 & 12313 \\
\cline{2-4}
& 12312332 & 12313\\
\cline{2-4}
& 12312332 & 12313\\
\cline{2-4}
& 12312332 & 12313\\
\cline{2-4}
& 12312332 & 12313\\
\cline{2-4}
& 12312332 & 12313\\
\hline
\end{tabular}
\caption{Caption1}
\label{tab:tabular1}
\end{table}