latex表格线的加粗及合并两行
2013-06-22 17:03
2779 查看
在latex中要设置加粗的表格线,要使用如下包:
如下图中的表格,首行(\toprule[2pt]),中间行(\midrule[1pt])及未尾行(\bottomrule[2pt])加粗:
对于以上表格,合并两行使用
\usepackage{booktabs}
如下图中的表格,首行(\toprule[2pt]),中间行(\midrule[1pt])及未尾行(\bottomrule[2pt])加粗:
对于以上表格,合并两行使用
\multirow{2}*{男}总的代码如下:
\begin{table}[h] \centering \begin{tabular}{cc|c|c|c|c} \toprule[2pt] & &\textbf{Min} &\textbf{Max} &\textbf{M} &\textbf{SD}\\ \midrule[1pt] \multirow{2}*{男} & 文科 & 1.00 &5.00 &2.55 &1.36 \\ & 理科 & 1.00 &4.00 &1.86 &0.95\\ \multirow{2}*{女} & 文科 & 1.00 &5.00 &2.48 &1.29 \\ & 理科 & 1.00 &5.00 &2.10 &1.28\\ \bottomrule[2pt] \end{tabular} \caption{各类人群日常微博使用情况描述统计表} \label{tab:wei1} \end{table}
相关文章推荐
- 加粗合并latex表格线的加粗及合并两行
- LaTex 制作表格 合并行\multirow 合并列\multicolumn
- [转]LaTeX技巧286:表格合并行的绘制技巧
- 合并和拆分map,合并和拆分list,应用于把表格的两行并排显示
- LaTex 制作表格 合并行\multirow 合并列\multicolumn
- 编写html表格输出的时候有时候会出现同一列连续出现两行或者是三行的数据内容一样,并且我们想将这些行合并起来,这个时候我们就需要以下这些代码
- LaTex 制作表格 合并行\multirow 合并列\multicolumn
- LaTex 文章正文footnote和表格的footnote合并计数
- LaTeX表格合并行:Linux下TeXstudio提示multirow.sty not found
- LaTex 制作表格 合并行\multirow 合并列\multicolumn
- LaTex学习教程——插入较复杂的表格(合并、换行以及加标题)
- php原生PHPExcel插件导表(附表格合并,加粗居中及加边框换行操作)
- LaTeX-----绘制三线表格
- mysql合并两张表格
- LaTeX 绘制表格
- Latex中的表格用法总结(三)
- Latex设置表格字体大小
- LaTex学习教程——简单表格(三行线、普通表格)
- 表格的边框合并为单一的边框
- 使用jquery合并表格中相同文本的相邻单元格