在论文写作的过程中,经常会遇到使用三线表排版表格。
word
1. 插入 表格 m*n (m行n列)
2. 依次单击 边框 内部框线
边框 左框线
边框 右框线
3. 插入 表格 绘制表格 在第二行画一条横线
Latex
在tex模板的开始输入下代码段
\documentclass[english]{cccconf}
\usepackage[comma,numbers,square,sort&compress]{natbib}
\usepackage{epstopdf}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subfigure}
\usepackage{float}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{booktabs}
在绘制表格的区域插入以下代码段
\begin{table}[htbp]
\caption{\label{tab:test}Target tracking algorithm flow based on particle filter and convolutional neural network}
\begin{tabular}{lcc}
\toprule
\quad\quad\quad\quad\quad\quad\quad\quad\textbf{LDA Dimension Reduction Process} \\
\midrule
% \textbf{Initialization}\\
\textbf{1}.Calculate the intra-class divergence matrix ${S_w}$.\\
\textbf{2}.Calculating the inter-class divergence matrix ${S_b}$.\\
\textbf{3}.Calculation matrix ${S_w}^{ - 1}{S_b}$.\\
\textbf{4}.Calculate the maximum $d$ eigenvalues of ${S_w}^{ - 1}{S_b}$ and the corre-\\\quad sponding $d$ eigenvectors to obtain the projection matrix $W$.\\
\textbf{5}.Convert each sample characteristic ${x_i}$ in the sample set to a new \\\quad sample ${z_i} = {W^T}{x_i}$.\\
\textbf{6}.Get the output sample set $D' = \left\{ {({z_1},{y_1}),({z_2},{y_2}),...,({z_m},{y_m})} \right\}$\\
\bottomrule
\end{tabular}
\end{table}