%%%%%%%%%%简单表格%%%%%%%%%%
\begin{tabular}{|c|c|}
\hline
a & b \\\hline
c & d\\
\hline
\end{tabular}
%%%%%%%%%%简单表格,居中(一)%%%%%%%%%%
\begin{center}
\begin{tabular}{|c|c|}
\hline
a & b \\\hline
c & d\\
\hline
\end{tabular}
\end{center}
%%%%%%%%%%简单表格,居中(二)%%%%%%%%%%
\centering
\begin{tabular}{|c|c|}
\hline
a & b \\\hline
c & d\\
\hline
\end{tabular}
This a Table~??
%%%%%%%%%%简单表格,居中,标题,编号,固定位置%%%%%%%%%%
\begin{table}[h]
\centering
\caption{table}\label{tab:table}
\begin{tabular}{|c|c|}
\hline
a & b \\\hline
c & d\\
\hline
\end{tabular}
\end{table}
%%%%%%%%%%一个完整的例子%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%Beginning of Table example%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{table}[ht]
\caption{Review paper} % title of Table
\centering % used for centering table
\begin{tabular}{|c|c|} % centered columns (2 columns)
\hline\hline %inserts double horizontal lines
Item 1 & Item 2 \\ [0.5ex] % inserts table heading
\hline % inserts single horizontal line
a & b \\ % inserting body of the table
c & d \\
e & f \\[1.5ex] % [1.5ex] adds vertical space
\hline %inserts single line
\end{tabular}
\label{table:nonlin} % is used to refer this table in the text
\end{table}
%%%%%%%%%%%%%%%%%% end of the example%%%%%%%%%%%%%%%%%%%%%%%%%