LaTeX 笔记

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u011956147/article/details/79136041

画表格命令

四种指令简略说明:
\multirow{2}{*}{Multi-Row}
\multirow是跨列功能,第一个参数2,表示跨两列,第二个参数*,表示系统自动调整文 字,最后一个参数即是要填入的文字,跨列需注意的是,使用\multirow指令的那一列表 格,到了要撰写下一列表格时,被跨列直接留空,不可填字(填了之后就会知道为什么了)

\multicolumn{2}{c|}{Multi-Column}
\multicolumn是跨行功能,第一个参数2,表示跨两行,第二个参数c|,表示文字置中,并 在栏位右边画一条直线框,最后一个参数即是要填入的文字

\hline 表示画出一整条从左至右横线
\cline{2-3} 表示画出一条在第2栏位到第3栏位的横线段,其他栏位将不会有横线段
例如:

\begin{table*}[!t]
	\renewcommand{\arraystretch}{1.3}
	\caption{Performance Evaluation}
	\label{table_5}
	\centering
	\begin{tabular}{|c|c|c|c|}
		\hline 
		\multirow{2}{*}{Methods}	  & \multicolumn{3}{c|}{AP}            \\
		\cline{2-4}
		                              & A      &B       &C                 \\
		\hline
		A                             & 63.3\% & 67.7\% & 72.7\%           \\
		\hline
		B                             & 71.5\% & 74.9\% & 81.6\%           \\
		\hline
		C                             & \textbf{74.5\%} & \textbf{76.2\%} & \textbf{83.3\%}  \\
		\hline
	\end{tabular}
\end{table*}   

三线表(居中):

\begin{table*}[!t]
	\renewcommand{\arraystretch}{1.3}
	\caption{EXAMPLE}
	\label{table_4}
	\centering
	\begin{tabular}{p{1in}<{\centering} p{1in}<{\centering} p{1in}<{\centering} p{1in}<{\centering}}
		\toprule 
		Methods	            & AP                & Size   & Speed(Titan X)\\
		\midrule
		A                  & 72.4\%             & 1M     & ~20ms/image   \\
		%\hline
		B                  & \textbf{74.2\%}    & 1M     & ~10ms/image   \\
		\bottomrule
	\end{tabular}
\end{table*}

Biography写法(带照片):

\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{bio/example.eps}}]{Felix Fuu}
Biography text here.
\end{IEEEbiography}

画图

\begin{figure*}[!t]
	\centering
	\includegraphics[width=\textwidth]{fig/framwork.eps}
	\caption{说明}
	\label{wsm_framwork}
\end{figure*}

猜你喜欢

转载自blog.csdn.net/u011956147/article/details/79136041