加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

latex表格标题列格式:标题居中,内容居左

(2020-01-08 16:40:26)
分类: soft-latex-pdflatex

% \usepackage{multirow}
\begin{table}[!ht]
\centering
\caption{{11}\label{tab1}}
\begin{tabular}{l|c|c|cc|cc|cc|cc}
\hline
\multicolumn{1}{c|}{\multirow{2}{*}{11}}&
\multirow{2}{*}{11}&
\multirow{2}{*}{11}&
\multicolumn{2}{c}{11}&
\multicolumn{2}{|c}{11}&
\multicolumn{2}{|c}{11}&
\multicolumn{2}{|c}{11}\\
\cline{4-11}
                     & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11 \\
\hline
    11111    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11 \\
    11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11 \\
    11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11 \\
    11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11 \\
    11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11 \\
\hline
\hline
    11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11 \\
    11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11 \\
    11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11 \\
    11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11 \\
    11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11 \\
    11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11 \\
    11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11    & 11 \\
\hline
\end{tabular}
\end{table}



\begin{table}[!ht]
\centering
\caption{{11}\label{tab2}}
\begin{tabular}{c|l|c|c}
\hline
\multirow{2}{*}{11}&
\multicolumn{1}{c|}{\multirow{2}{*}{11}}&
\multicolumn{2}{c}{11}\\
\cline{3-4}
               & 11    & 11 \\
\hline
    11    & 111111    & 11    & 11 \\
    11    & 11    & 11    & 11 \\
    11    & 11    & 11    & 11 \\
    11    & 11    & 11    & 11 \\
    11    & 11    & 11    & 11 \\
                      \\
    11    & 11    & 11    & 11 \\
\hline
\end{tabular}
\end{table}

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有