插入表格代码如下:
\begin{table}[!htbp] %!-忽略“美学”标准,h-here,t-top,b-bottom,p-page-of-its-own\centering % 让表格居中
\begin{tabular}{cl} % {cl} 代表中元素的对齐方法 ,left-l,right-r,center-c
\hline % \hline 代表画一条线
Variable &Description\\ % \\ 代表开始新一行 ,& 代表列的分隔符
\hline
a & description\\
b & description\\
\end{tabular}
\caption{table1}
\end{table}
要注意的是表哥最好嵌在文字段落当中,如果直接在\section或者\subsection这些标题下插入表格,表格有可能移位。