LateX--插入表格类型详解

文章目录

    • 1.普通三线表
    • 2.可调三线表
    • 3.跨行三线表
    • 4.变异三线表(一)---分割框型
    • 5.变异三线表(二)---多行合并
    • 6.变异三线表(三)---带勾叉符号
    • 7.变异三线表(四)---颜色填充
    • 8.参考文献

1.普通三线表

LateX--插入表格类型详解_第1张图片

\begin{table}[htbp]
\centering
\begin{tabular}{cc}
\toprule[1.5pt]
Symbol & Description\\
\midrule[1pt]
$T$  & time-span influence factor\\
$w$  & edge weight as an influence indicato\\
$\beta$  & successor influence growth coefficient\\
$FP$  & individual overall influence indicator \\
$SIP$  & Self-influence indicator\\
$FIP$ & follower influence indicator\\
$sim(A,B)$ &describing the similarity value between A and B\\
$Acv$ &sample mean dispersion indicator\\
$\rho$&sample feature similarity value\\
$BIC$&bayesian network information criterion\\
$e_{i}$&residuals of linear regression fit\\
$\tau$ &lag time of artistic work dynamic influence\\
$DI$&dynamic influencer indicator\\
$RD$&time of music influence revolution\\
\bottomrule[1.5pt]
\end{tabular}
\end{table}

2.可调三线表

LateX--插入表格类型详解_第2张图片

\begin{table}[htbp]
\setlength{\tabcolsep}{10mm}{%加入setlength可以进行调节
\centering
\begin{tabular}{cc}
\toprule[1.5pt]
Symbol & Description\\
\midrule[1pt]
$T$  & time-span influence factor\\
$w$  & edge weight as an influence indicato\\
$\beta$  & successor influence growth coefficient\\
$FP$  & individual overall influence indicator \\
$SIP$  & Self-influence indicator\\
$FIP$ & follower influence indicator\\
$sim(A,B)$ &describing the similarity value between A and B\\
$Acv$ &sample mean dispersion indicator\\
$\rho$&sample feature similarity value\\
$BIC$&bayesian network information criterion\\
$e_{i}$&residuals of linear regression fit\\
$\tau$ &lag time of artistic work dynamic influence\\
$DI$&dynamic influencer indicator\\
$RD$&time of music influence revolution\\
\bottomrule[1.5pt]
\end{tabular}}
\end{table}

3.跨行三线表

LateX--插入表格类型详解_第3张图片

\begin{table}[htbp]
\begin{tabular}{lcccccccc}
\hline
                 &        &        &        & Revolusion & date   &        &        &        \\ \cline{2-9} 
Characteristic   & 1930s  & 1940s  & 1950s  & 1960s      & 1970s  & 1980s  & 1990s  & 2000s  \\ \hline
Instrumentalness & 1933   & 1946   & $\sim$ & 1964       & $\sim$ & $\sim$ & $\sim$ & $\sim$ \\
Duration\_ms     & $\sim$ & 1946   & $\sim$ & 1966       & $\sim$ & $\sim$ & $\sim$ & 2007   \\
Acousticness     & $\sim$ & $\sim$ & 1950   & 1964       & 1979   & $\sim$ & $\sim$ & $\sim$ \\
Tempo            & $\sim$ & 1947   & $\sim$ & $\sim$     & 1979   & $\sim$ & 1996   & 2008   \\
Danceability     & $\sim$ & $\sim$ & 1950   & $\sim$     & $\sim$ & $\sim$ & 1997   & 2008   \\
Valence          & $\sim$ & $\sim$ & $\sim$ & 1966       & $\sim$ & $\sim$ & $\sim$ & 2005   \\
Energy           & $\sim$ & $\sim$ & 1951   & $\sim$     & 1979   & $\sim$ & $\sim$ & 2008   \\
Liveness         & $\sim$ & $\sim$ & 1956   & $\sim$     & 1976   & $\sim$ & $\sim$ & 2008   \\
Speechness       & $\sim$ & $\sim$ & 1956   & $\sim$     & $\sim$ & $\sim$ & $\sim$ & 2006   \\
Popularity       & $\sim$ & $\sim$ & 1953   & $\sim$     & 1970   & $\sim$ & $\sim$ & 2006   \\
Loudness         & 1936   & $\sim$ & 1950   & $\sim$     & $\sim$ & $\sim$ & $\sim$ & 2008   \\ \hline
\end{tabular}
\end{table}

4.变异三线表(一)—分割框型

LateX--插入表格类型详解_第4张图片

\begin{table}[htbp]
\centering
\caption{Sample Table 3}
\setlength{\tabcolsep}{18mm}{
\begin{tabular}{c|cc}
\Xhline{1.5pt}
$Argument$ & \multicolumn{2}{c}{$Dependent$ $Variable$} \\
\Xcline{2-3}{0.4pt}
$R$ & $C$ & $S$ \\
\Xhline{1pt}
1.00 & 6.28 & 6.28 \\
2.00 & 12.57 & 12.57 \\
3.00 & 18.85 & 28.37 \\
\Xhline{1.5pt}
\end{tabular}}
\end{table}

5.变异三线表(二)—多行合并

LateX--插入表格类型详解_第5张图片

\begin{table}[htbp]
\centering
\caption{Example Table 3}
\setlength{\tabcolsep}{5mm}{
\begin{tabular}{*{6}{c}}

  \toprule
  \multirow{2}*{Name} & \multicolumn{2}{c}{Fruit} & \multicolumn{2}{c}{Vegetables} & Amount\\  %1+2+2(122)
  \cmidrule(lr){2-3}\cmidrule(lr){4-5}\cmidrule(lr){6-6}\morecmidrules\cmidrule(lr){6-6}
  & $Apple$ & $Orange$ & $BaiCai$ & $Potato$ & $Total$ \\
  \midrule
  $Xiao$ $Ming$& 2kg & 1kg & 1.5kg & 2kg & 6.5kg \\
  $Xiao$ $Fang$& 2.3kg & 1.1kg & 1.8kg & 1.2kg &  8.0kg \\
  \bottomrule
\end{tabular}}
\end{table}

6.变异三线表(三)—带勾叉符号

LateX--插入表格类型详解_第6张图片

\begin{table}[h]
  \centering
  \caption{Example Table 3}
  \setlength{\tabcolsep}{5mm}{
  \small
  \begin{tabular}{c | c c c | c c c}
    \toprule
    & FA module & CLNet & SLNet & AUC $\uparrow$ & $DP_{20}$ $ \uparrow$ & FPS $\uparrow$\\
    \midrule
    \textrm{I}   & &  & & 0.641 &0.841 & 180	\\
    \textrm{II}  & \textcolor{red}{\ding{55}}& \checkmark &  & 0.666 &0.876 & 147	\\
    \textrm{III} & &  \textcolor{red}{\ding{55}}& \checkmark & 0.664 &0.875& 144	\\
    \textrm{IV}  & \textcolor{red}{\ding{55}}& \checkmark & \textcolor{red}{\checkmark} & 0.672 &0.889	& 118\\
    \midrule
    \textrm{V}&\textcolor{red}{\checkmark} & \checkmark &  & 0.677 &0.888	& 96\\
    \textrm{VI}&\checkmark &  & \checkmark & 0.679 &0.892	& 89 \\
    \textrm{VII}&\checkmark & \checkmark & \textcolor{red}{\checkmark} & 0.686 &0.912 & 60\\
    \bottomrule
    \end{tabular}}
\end{table}

7.变异三线表(四)—颜色填充

LateX--插入表格类型详解_第7张图片

\begin{table}[h]
\centering
  \setlength{\tabcolsep}{20mm}{
\caption{Example Table 6}
\rowcolors{2}{blue!20}{blue!10}
\begin{tabular}{cccc}
\toprule
\rowcolor{yellow}  A & B & C&D \\
  \midrule
a & b & c&d \\ 
a & b & c&d \\ 
a & b & c &d\\ 
a & b & c &d\\ 
a & b & c &d\\ 
a & b & c &d\\ 
\bottomrule
\end{tabular}}
\end{table}

8.参考文献

[1].https://blog.csdn.net/weixin_46198203/article/details/124222761
[2].https://blog.csdn.net/Williamcsj/article/details/134353532?
[3].https://blog.csdn.net/weixin_43611398/article/details/134415629?
[4].https://blog.csdn.net/weixin_46198203/article/details/124222761
[5].https://blog.csdn.net/laizi_laizi/article/details/132867339?
[6].https://blog.csdn.net/liu16659/article/details/111656244
[7].https://blog.csdn.net/huaersuifeng/article/details/130527264?
[8].https://www.tablesgenerator.com/latex_tables

你可能感兴趣的:(Latex,Latex,插图)