发布时间:2009-11-24 10:09:15
文章类别:表格制作
原文地址:http://blog.sina.com.cn/s/blog_5e16f1770100g5m4.html

QQ群:91940767/145316219/141877998/80300084/194770436
淘宝店:http://latexstudio.taobao.com
技巧续篇:http://latexstudio.net/
常见数学公式问题集下载

示例代码:
\documentclass{article}
\usepackage{times}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{111.0pt}

\usepackage{array}
\newcolumntype{I}{!{\vrule width 3pt}}
\newlength\savedwidth
\newcommand\whline{\noalign{\global\savedwidth\arrayrulewidth
\global\arrayrulewidth 3pt}%
\hline
\noalign{\global\arrayrulewidth\savedwidth}}
\newlength\savewidth
\newcommand\shline{\noalign{\global\savewidth\arrayrulewidth
\global\arrayrulewidth 1.5pt}%
\hline
\noalign{\global\arrayrulewidth\savewidth}}


\begin{document}
\begin{tabular}{|cIc|c|} \hline
A & B & C \\ \hline
X & Y & Z \\ \whline
100 & 10 & 1 \\ \hline
\end{tabular}


\begin{tabular}{|c|c|c|}
\hline
A & B & C \\ \shline
X & Y & Z \\ \hline
100 & 10 & 1 \\ \hline \end{tabular}
\end{document}

效果图:
LaTeX技巧92:定义表格的线宽,加粗的表格线示例

点赞(1)

评论列表 共有 0 条评论

暂无评论
立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部