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

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

效果如下:

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容