LaTex教程——超複雜表格
阿新 • • 發佈:2019-01-26
較複雜表格
\begin{table}[h]
\begin{center}
\begin{spacing}{1.15}
\caption{National}\label{table2}
\resizebox{0.85\hsize}{!}{
\begin{tabular}{|c|c|c|}
\hline
\textbf{The } & \textbf{The } & \textbf{The} \\
\hline
%表格自動換行
\multirow{11}{*}{\makecell[{}{p{3cm}}]{The }} & \multirow{5}{*}{\makecell[{}{p{3cm}}]{The }} & Per \\
\cline{3-3}
& & Gross \\
\cline{3-3}
& & Fiscal \\
\cline{3-3}
& & Con \\
\cline{3 -3}
& & For \\
\cline{2-3}
& \multirow{6}{*}{\makecell[{}{p{3cm}}]{The }} & The \\
\cline{3-3}
& & Per \\
\cline{3-3}
& & Social \\
\cline{3-3}
& & Degree \\
\cline{3 -3}
& & Th \\
\cline{3-3}
& & The \\
\cline{2-3}
\hline
\end{tabular}
}
\end{spacing}
\end{center}
\end{table}
超級複雜表格
\begin{table}[h]
\begin{center}
\begin{spacing}{1.36}
\caption{National}\label{table4}
\resizebox{1.1\hsize}{!}{
\begin{tabular}{|c|c|c|c|c|c|c|}
\hline
\multirow{2}{*}{\makecell[{}{p{2cm}}]{\textbf{The}}} & \multirow{2}{*}{\makecell[{}{p{2cm}}]{\textbf{The}}} & \multirow{2}{*}{\textbf{The}} & \multirow{2}{*}{\makecell[{}{p{2cm}}]{\textbf{Criterion}} } & \multicolumn{ 3}{|c|}{\textbf{Index}} \\
\cline{5-7}
& & & & \makecell[{}{p{2.5cm}}]{\textbf{Relative }} & \makecell[{}{p{2cm}}]{\textbf{Relative}} & \makecell[{}{p{2cm}}]{\textbf{Impo}} \\
\hline
\multirow{17}{*}{\makecell[{}{p{2cm}}]{The}} & \multirow{5}{*}{\makecell[{}{p{2cm}}]{The}} & Per Capita GDP & \multirow{5}{*}{0.31} & 0.49 & 0.94 & 12 \\
\cline{3-3} \cline{5-7}
& & Gross & & 0.16 & 0.0471 & 13 \\
\cline{3-3} \cline{5-7}
& & Fiscal & & 01 & 0& \\
\cline{3-3} \cline{5-7}
& & Consumption & & 6 & & \\
\cline{3-3} \cline{5-7}
& & Foreign & & & & \\
\cline{2-7}
& \multirow{6}{*}{\makecell[{}{p{2cm}}]{The}} & The & \multirow{6}{*}{0.2553} & 0 & 0 & 5 \\
\cline{3-3} \cline{5-7}
& & \makecell[{}{p{6cm}}]{Pe} & & 0.1 & 0 & 16 \\
\cline{3-3} \cline{5-7}
& & Social & & 0.1613 & 0.2 & 14 \\
\cline{3-3} \cline{5-7}
& & friendliness & & 0.19 & 0 & 11 \\
\cline{3-3} \cline{5-7}
& & luence & & 0.1 & 0 & 17 \\
\cline{3-3} \cline{5-7}
& & supply & & 0.2 & 0 & 7 \\
\cline{2-7}
& \multirow{6}{*}{\makecell[{}{p{2cm}}]{The}} & Vege & \multirow{6}{*}{0.4} & 0.1 & 0.3 & 9 \\
\cline{3-3} \cline{5-7}
& & The & & 0.16 & 0.06 & 5 \\
\cline{3-3} \cline{5-7}
& & Th & & 0.12 & 0.05 & 10 \\
\cline{3-3} \cline{5-7}
& & Sur & & 0.26 & 0.11 & 1 \\
\cline{3-3} \cline{5-7}
& & Ra & & 0.13 & 0.05 & 8 \\
\cline{3-3} \cline{5-7}
& & The & & 0.18 & 0.07 & 4 \\
\hline
\end{tabular}
}
\end{spacing}
\end{center}
\end{table}