LaTex 表格虚线,颜色变化源码
2016-06-23 22:49
3691 查看
\usepackage{colortbl}
\begin{table}[htbp]
\small
\renewcommand{\arraystretch}{1.3}
\centering
\begin{tabular}{|l|l|m{170pt}<{\centering}|}
\hline
\textbf{Category} & \textbf{Types} & \textbf{Primary Argument} \\
\hline
\multirow{5}{2cm}{Simple Event} & Transcription & Theme(Protein) \\
\arrayrulecolor{gray} \cdashline{2-3}[0.8pt/2pt]
& Gene$\_$expression & Theme(Protein) \\
\cdashline{2-3}[0.8pt/2pt]
& Protein$\_$catabolism & Theme(Protein) \\
\cdashline{2-3}[0.8pt/2pt]
& Phosphorylation & Theme(Protein) \\
\cdashline{2-3}[0.8pt/2pt]
& Localization & Theme(Protein) \\
\hline
Binding Event & Binding & Theme(Protein)+ \\
\hline
\multirow{3}{2cm}{Complex Event} & Regulation & \tabincell{c}{Theme(Protein/Event), Cause(Protein/Event)}\\
\cdashline{2-3}[0.8pt/2pt]
& Positive$\_$regulation & \tabincell{c}{Theme(Protein/Event), Cause(Protein/Event)}\\
\cdashline{2-3}[0.8pt/2pt]
& Negative$\_$regulation & \tabincell{c}{Theme(Protein/Event), Cause(Protein/Event)}\\
\hline
\end{tabular}
\caption{Event types and primary arguments}
\label{event:eventTypes}
\end{table}
\usepackage{arydshln}
\usepackage{multirow}
\usepackage{multicol}
\begin{table}[htbp]
\small
\renewcommand{\arraystretch}{1.3}
\centering
\begin{tabular}{|l|l|m{170pt}<{\centering}|}
\hline
\textbf{Category} & \textbf{Types} & \textbf{Primary Argument} \\
\hline
\multirow{5}{2cm}{Simple Event} & Transcription & Theme(Protein) \\
\arrayrulecolor{gray} \cdashline{2-3}[0.8pt/2pt]
& Gene$\_$expression & Theme(Protein) \\
\cdashline{2-3}[0.8pt/2pt]
& Protein$\_$catabolism & Theme(Protein) \\
\cdashline{2-3}[0.8pt/2pt]
& Phosphorylation & Theme(Protein) \\
\cdashline{2-3}[0.8pt/2pt]
& Localization & Theme(Protein) \\
\hline
Binding Event & Binding & Theme(Protein)+ \\
\hline
\multirow{3}{2cm}{Complex Event} & Regulation & \tabincell{c}{Theme(Protein/Event), Cause(Protein/Event)}\\
\cdashline{2-3}[0.8pt/2pt]
& Positive$\_$regulation & \tabincell{c}{Theme(Protein/Event), Cause(Protein/Event)}\\
\cdashline{2-3}[0.8pt/2pt]
& Negative$\_$regulation & \tabincell{c}{Theme(Protein/Event), Cause(Protein/Event)}\\
\hline
\end{tabular}
\caption{Event types and primary arguments}
\label{event:eventTypes}
\end{table}
相关文章推荐
- Android开发学习笔记之通过API接口将LaTex数学函数表达式转化为图片形式
- Ubuntu12.04 安装LaTex(TexLive+TexMaker+中文环境) 4000
- pandoc文档书写
- Miktex 2.9 + Texmaker 中文显示
- 有关LaTeX参考文献的一些问题
- LaTeX实用宏命令
- LaTeX使用小结
- Sublime text 3 + MacTex + Skim 中文显示问题
- 关于LATEX插入图的处理,仅供参考
- LaTeX新人教程,30分钟从完全陌生到基本入门
- LaTeX入门笔记
- 2016年Ubuntu14.04+texlive 中文输入配置
- 经测可用的3个网页插入Latex公式在线编辑器
- Latex初探(二): 基本用法
- LaTex算法插入
- LaTex插入algorthim
- LaTex 插入表格
- latex 备忘
- (排bug)CTex+TeXstudio中文乱码问题
- 在Windows和Linux下使用LaTeX