您的位置:首页 > 其它

LaTex 表格虚线,颜色变化源码

2016-06-23 22:49 3691 查看
\usepackage{colortbl}

\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}

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  latex