Latex特殊表格畫法

在線製作表格網址:http://www.tablesgenerator.com/#

前三個可以控制橫線長短

%注意黑色部分的標記

\begin{table}

\centering

\caption{Optimal results for two different load cases}

\label{Tab:03}

\begin{tabular}{ccccc}

  \hline

  % after \\: \hline or \cline{col1-col2} \cline{col3-col4} ...

  Cases & Component shapes & Initial layout & Optimized layout & Objective function\\

  \hline

  \multirow{3}{*}{Case 1}  &rectellipse & \tabincell{c}{(50, 30, $0$) \\ (70, 30, $0$)}

  & \tabincell{c}{(35.145, 24.633, 2.0298) \\ (85.182, 24.542, -0.7411)}

   & \multirow{3}{*}{67.359}  \\

  \cline{2-4}

   & calabash-shaped & \tabincell{c}{(10, 30, $\pi /2$) \\ (110, 30, $\pi /2$)}

  & \tabincell{c}{(8.635, 28.556, 0.836) \\ (110.299, 28.578, 2.283)}

   &   \\

  \cline{1-5}

 \multirow{3}{*}{Case 2} &rectellipse & \tabincell{c}{(50, 30, $0$) \\ (70, 30, $0$)}

  & \tabincell{c}{(36.049, 35.603, 0.506) \\ (83.621, 35.087, 0.885)}

   & \multirow{3}{*}{199.781}  \\

  \cline{2-4}

   & calabash-shaped & \tabincell{c}{(10, 30, $\pi /2$) \\ (110, 30, $\pi /2$)}

  & \tabincell{c}{(8.469, 31.537, 0.788)$^a$ \\ (112.882, 30.057, 1.864)}

   &  \\

  \cline{1-5}

  \hline

\end{tabular}

\footnotesize{$^a$ The smallest spatial unit is county}\\

\end{table}

% Please add the following required packages to your document preamble:

% \usepackage{multirow}

\begin{table*}[]

\scriptsize

\centering

\caption{Optimized results of the circular arch for different slenderness and opening angles}

\label{Tab03}

\begin{tabular}{cccccccccc}

\toprule

\multirow{2}{*}{Opening angle} & \multicolumn{3}{c}{$R/r=10$} & \multicolumn{3}{c}{$R/r=25$} & \multicolumn{3}{c}{$R/r=50$} \\

\cmidrule(r){2-4} \cmidrule(r){5-7} \cmidrule(r){8-10}

&  $\omega_{1} (\%)$      &  $r_{{\rm min}}/r_0$   &   $r_{{\rm max}}/r_0$

&  $\omega_{1} (\%)$      &  $r_{{\rm min}}/r_0$   &   $r_{{\rm max}}/r_0$

&  $\omega_{1} (\%)$      &  $r_{{\rm min}}/r_0$   &   $r_{{\rm max}}/r_0$  \\

\midrule

$\varphi=60^{\circ} $             &3.920                          & 0.793                    & 1.355                   & 5.243           & 0.558           & 1.122          & 6.694           & 0.503           & 1.133          \\

$\varphi=90^{\circ} $             &4.061                          & 0.660                    & 1.106                   & 7.242           & 0.500           & 1.136          & 8.060           & 0.501           & 1.140          \\

$\varphi=120^{\circ} $             &6.480                          & 0.558                    & 1.127                   & 9.011           & 0.500           & 1.145          & 9.535           & 0.500           & 1.147           \\

$\varphi=150^{\circ} $             &8.756                          & 0.500                    & 1.142                   & 10.763           & 0.500          & 1.153          & 11.126           & 0.500          & 1.155            \\

\bottomrule

\end{tabular}

\end{table*}

\begin{table}[]
\begin{tabular}{cccccccc}
\hline
\multicolumn{1}{l}{}       & \multicolumn{7}{c}{觀察者}                                                                                                                                                                         \\
\cline{2-8}
\multicolumn{1}{c}{方法}     & \multicolumn{1}{c}{1}      & \multicolumn{1}{c}{2}      & \multicolumn{1}{c}{3}      & \multicolumn{1}{c}{4}      & \multicolumn{1}{c}{5} & \multicolumn{1}{c}{6} & \multicolumn{1}{l}{平均準確率} \\
\hline
\multicolumn{1}{c}{SG-Net} & \multicolumn{1}{c}{81.0\%} & \multicolumn{1}{c}{85.0\%} & \multicolumn{1}{c}{81.2\%} & \multicolumn{1}{c}{88.0\%} & 90.0\%                & 84.7\%                & 84.9\%                    \\
\multicolumn{1}{c}{PS}     & \multicolumn{1}{c}{79.3\%} & \multicolumn{1}{c}{83.3\%} & \multicolumn{1}{c}{79.7\%} & \multicolumn{1}{c}{86.0\%} & 87.0\%                & 82.3\%                & 82.9\%                    \\
Pb                           & 76.7\%                      & 81.3\%                      & 77.3\%                      & 83.3\%                      & 85.0\%                & 80.0\%                & 80.6\%                    \\
CC                           & 80.1\%                      & 83.4\%                      & 80.3\%                      & 85.2\%                      & 88.5\%                & 82.1\%                & 83.3\%\\
\hline
\end{tabular}
\end{table}

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章