1-三线表的制作及合并行
具体操作及注释如下
\begin{table}
% 插入长度为5pt的垂直空间(也可以是负数,缩进)
\vspace{-10pt}
\centering
% 表名 前面为中文名/后面为英文名
\bicaption{总数展示表}{Total Number Display Table}
% label标签,用以引用本表时。例:autoref{num}
\label{num}
% 设置表格单元格的列宽
\setlength{\tabcolsep}{10mm}{
% 表示 三线表 有4列
\begin{tabular}{cccc}
% toprule表示三线表的顶部线
\toprule
类型 & 参数 & 数量 & 单位 \\
% midrule 表示 三线表的 中部线
\midrule
% 合并三行1列,用空格代替,也可以用\multirow{}[]{}{}来表示
\textbf{水果} & 香蕉 & 10 & 斤 \\
\textbf{ } & 荔枝 & 20 & 斤 \\
\textbf{ } & 龙眼 & 30 & 斤 \\
\textbf{蔬菜} & 上海青 & 2 & 斤 \\
\textbf{ } & 包菜 & 3 & 斤 \\
\textbf{ } & 香菜 & 1 & 斤 \\
\textbf{ } & 葱花 & 1 & 斤 \\
\textbf{服装} & T恤 & 30 & 件 \\
\textbf{ } & 牛仔裤 & 50 & 件 \\
\textbf{ } & 衬衫 & 100 & 件\\
\textbf{ } & 西装 & 80 & 件 \\
\textbf{ } & 卫衣 & 40 & 件 \\
\textbf{总结} & dd & dd & ddd \\
% bottomrule表示 三线表 的底部线
\bottomrule
\end{tabular}}
\end{table}
显示效果: