齐全的Latex表格样式(有斜杠)

示例一: 

\begin{table*}
  \centering
  \fontsize{9}{12}\selectfont
  \caption{This is a visual sample.}
  \label{tab:distortion_type}
    \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|}
    \hline
    \multirow{2}{*}{Components}& \multirow{2}{*}{Features}&
    \multicolumn{2}{c|}{A}&\multicolumn{2}{c|}{ B} &\multicolumn{2}{c|}{C} &\multicolumn{2}{c|}{D}\cr\cline{3-10}
    &  & a & b & a & b & a & b & a & b \cr
    \hline
    \multirow{3}{*}{Global}
                       &$F_f(f_1-f_{6}) $     &0.12&0.23&0.12&0.33&0.14&0.54&0.64&0.44\cr\cline{2-10}
                       & $F_g(f_{7}-f_{8})$&0.64&0.11&0.32&0.12&0.21&0.66&0.44&0.66\cr\cline{2-10}
                       & $[F_f,F_g]             $ &0.56&0.43&0.21&0.12&0.32&0.33&0.44&0.66\cr\hline
    \multirow{3}{*}{Local}
                       &$F_r(f_1-f_{6}) $     &0.12&0.23&0.12&0.33&0.14&0.54&0.64&0.44\cr\cline{2-10}
                       & $F_e(f_{7}-f_{8})$&0.64&0.11&0.32&0.12&0.21&0.66&0.44&0.66\cr\cline{2-10}
                       & $[F_r,F_e]             $ &0.56&0.43&0.21&0.12&0.32&0.33&0.44&0.66\cr\hline
    All              & $f_1-f_{8}$           &0.56&0.43&0.21&0.12&0.32&0.33&0.44&0.66\cr
    \hline
    \end{tabular}
\end{table*}

 齐全的Latex表格样式(有斜杠)_第1张图片

示例二: 

\begin{table*}
  \centering
  \fontsize{9}{12}\selectfont
  \caption{This is a visual sample.}
  \label{tab:feat_combin}
    \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|}
    \hline
    \multirow{2}{*}{Combination}& \multirow{2}{*}{Types}&
    \multicolumn{2}{c|}{A}&\multicolumn{2}{c|}{ B } &\multicolumn{2}{c|}{ C} &\multicolumn{2}{c|}{D}\cr\cline{3-10}
    &  & a & b & a & b & a & b & a & b \cr
    \hline
    \multirow{4}{*}{}
              $F_d, F_a$   & $f_1-f_{6}, f_{2}-f_{4}$     &0.53&0.26 &0.48 &0.62 &0.99 &0.93 &0.99 &0.71 \cr\cline{1-10}
               $F_d, F_a$   & $f_1-f_{6}, f_{2}-f_{9}$    &0.77 &0.23 &0.7191 &0.7132 &0.54 &0.87 &0.36 &0.21 \cr\cline{1-10}
               $F_a, F_s$ & $f_{1}-f_{2}, f_{2}-f_{4}$ &0.62 &0.85 &0.54 &0.56 &0.42 &0.59 &0.05 &0.66 \cr\cline{1-10}
               $F_a, F_f$ & $f_{1}-f_{2}, f_{5}-f_{9}$ &0.07 &0.55 &0.32 &0.92 &0.61 &0.37 &0.92 &0.04 \cr\cline{1-10}
$F_d, F_a, F_a, F_d$ & $f_{1}-f_{9}$                       &0.43 &0.72 &0.26 &0.72 &0.40 &0.54 &0.72 &0.81\cr
    \hline
    \end{tabular}
\end{table*}

齐全的Latex表格样式(有斜杠)_第2张图片

 示例三:

\begin{table}
    \centering
    \fontsize{8}{10}\selectfont    %{字体尺寸}{行距}
    \caption{This is a visual sample.}
\begin{tabular}{l|ccccc}
    \toprule
\diagbox [width=5em,trim=l] {Sample}{Size} & 1 & 2 & 3  & 4 & {\bf 5} \\
\hline
A & 0.22 & 0.32 & 0.76 & 0.34 & {\bf 0.77}  \\
B & 0.23 & 0.12 & 0.75 & 0.45 & {\bf 0.97} \\
C & 7.45 & 6.56 & 6.65 & 6.98 & {\bf 5.78}  \\
    \bottomrule
\end{tabular}\vspace{0cm}
    \label{tab:Training_sizes}
\end{table}

齐全的Latex表格样式(有斜杠)_第3张图片

示例四: 

\renewcommand{\arraystretch}{1.5} %控制行高
\begin{table*}[tp]
  \centering
  \fontsize{7.5}{10}\selectfont
  \begin{threeparttable}
  \caption{This is a visual sample.}
  \label{tab:perfor}
    \begin{tabular}{ccccccccccc}
    \toprule
    \toprule
    \multirow{1}{*}{D}&C
                     &B&GM-LO&N&GW&NR&BTMQ&HIGRADE-&Y&{\bf P}\cr
    \midrule
    \multirow{3}*{ES}
        & PC &0.48&0.22&0.01&0.42&0.45&0.65&0.78&0.45&{\bf 0.82}\cr
    ~ & SC  &0.76&0.90&0.04&0.48&0.43&0.15&0.75&0.76&{\bf 0.74}\cr
    ~ & RE &8.43&8.09&8.13&8.78&8.66&7.84&6.75&6.77&{\bf 5.44}\cr
    \hline
    \multirow{1}{*}{Run Time (Seconds)}&
                            &0.22&0.42&0.14&0.49&0.09&0.51&4.25&2.24&1.23\cr
    \bottomrule
    \bottomrule
    \end{tabular}
    \end{threeparttable}
\end{table*}

齐全的Latex表格样式(有斜杠)_第4张图片

示例五: 

\begin{table}
    \centering
    \fontsize{8}{11}\selectfont    %{字体尺寸}{行距}
    \caption{This is a visual sample.}
    \begin{tabular}{ccccc}
    \toprule
    \toprule
    \multirow{2}{*}{Da}&\multirow{2}{*}{Tr-Te Sizes}&
    \multicolumn{3}{c}{Criteria} \cr
             \cmidrule(lr){3-5}
                                & & PC & SC & RE  \cr
    \cmidrule(lr){1-5}
    \multirow{5}{*}{ES}
      &$50\%-50\%$ & 0.74 & 0.77 & 6.37   \cr
      &$60\%-40\%$ & 0.75 & 0.78 & 6.10  \cr
      &$70\%-30\%$ & 0.76 & 0.79 & 6.00  \cr
      &$80\%-20\%$ & 0.82 & 0.79 & 5.93  \cr
     &$90\%-10\%$ & 0.80 & 0.89 & 5.87  \cr
    \bottomrule
    \bottomrule
    \end{tabular}\vspace{0cm}
    \label{tab:Training_sizes}
\end{table}

齐全的Latex表格样式(有斜杠)_第5张图片

你可能感兴趣的:(LaTex)