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

来源:互联网 发布:支持xen的linux内核 编辑:程序博客网 时间:2024/05/17 20:22

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


0 0