1. 小试牛刀
Latex表格需要两个环境:
- table:包括 表格的标题(caption)、表格偏移等
- tabular:表格内容
如果是一整行,则为table后面加*号,如下:
\begin{
table*}[htb]
%%%
\end{
table*}
一个简单的例子:
\begin{
table}[htb]
\begin{
center}
\caption{
Beecy.}
\label{
table:1}
\begin{
tabular}{
|c|c|c|}
\hline \textbf{
Algorithms} & \textbf{
Complexity} & \textbf{
Overhead} \\
\hline algorithm 1 & high & low \\
\hline algorithm 2 & high & low \\
\hline
\end{
tabular}
\end{
center}
\end{
table}
具体取值如下表:在\begin{table}[htb]
\begin{tabular}{
|c|c|c|} 这里的c是用来约定表格的每列属性的,如下表:
其他符号说明:
改变列宽
%原始表达:
\begin{tabular}{|c|c|c|}
% 固定列宽:
\begin{tabular}{|m{2.8cm}<{\centering}|m{2.6cm}<{\centering}|m{2.2cm}<{\centering}|}
2. 从简单入手
\documentclass{
article}
\begin{
</