\begin{landscape}
\begin{table}[p]
\begin{center}
\caption{\large Ranking results for alternatives}
\label{indices}
\begin{tabular}{|c|c|c|c|c|}
\hline
Alternative&Value of $\lambda,\mu,\nu$& Value Index&Ambiguity Index&Ranking Order \\
\hline
\multirow{1}[10]{1in}{\centering\textit{A}\\\textit{B}\\\textit{C}}&$\lambda=0.10,\mu=0.40,\nu=0.50$&\multirow{1}{1in} {\centering$0.5450$\\$0.6451$\\$0.6035$}&\multirow{1}{1in}{\centering$0.5450$\\$0.6451$\\$0.6035$}&$B>C>A$\\
\cline{1-5}
\multirow{1}{1in}{\centering\textit{A}\\\textit{B}\\\textit{C}}&$\lambda=0.10,\mu=0.40,\nu=0.50$&\multirow{1}{1in} {\centering$0.5450$\\$0.6451$\\$0.6035$}&\multirow{1}{1in}{\centering$0.5450$\\$0.6451$\\$0.6035$}&$B>C>A$\\
\hline
\end{tabular}
\end{center}
\end{table}
\end{landscape}
答案1
还有一个可能的解决方案,这里使用array
和makecell
包:
\documentclass{article}
\usepackage{amsmath}
\usepackage{array, makecell}
\usepackage{pdflscape}
\begin{document}
\begin{landscape}
\begin{table}[p]
\setcellgapes{3pt}
\makegapedcells
\caption{Ranking results for alternatives}
\label{indices}
\[
\begin{array}{|c|c|c|c|c|}
\hline
\text{Alternative}
& \text{Value of }\lambda,\;\mu,\;\nu
& \text{Value Index}
& \text{Ambiguity Index}
& \text{Ranking Order} \\
\hline
\makecell{A \\ B \\ C}
& \lambda=0.10, \mu=0.40, \nu=0.50
& \makecell{0.5450\\ 0.6451\\ 0.6035}
& \makecell{0.5450\\0.6451\\ 0.6035}
& B>C>A \\
\hline
\makecell{A \\ B \\ C}
& \lambda=0.10, \mu=0.40, \nu=0.50
& \makecell{0.5450\\ 0.6451\\ 0.6035}
& \makecell{0.5450\\0.6451\\ 0.6035}
& B>C>A \\
\hline
\end{array}
\]
\end{table}
\end{landscape}
\end{document}
答案2
以下是表格的三个版本。第一个版本使用 no\multirow
作为 all,第二个版本使用\multirow
,第三个版本使用嵌套表格。所有三个输出均如以下屏幕截图所示:
如果您希望在各行之间有更多的垂直空白,您可以使用该cellspace
包。
\documentclass{article}
\usepackage{multirow}
\usepackage{pdflscape}
\usepackage{array}
\begin{document}
\begin{landscape}
\begin{table}[p]
\begin{center}
\caption{Ranking results for alternatives}
\label{indices}
\begin{tabular}{|c|c|c|c|c|}
\hline
Alternative&Value of $\lambda,\mu,\nu$& Value Index&Ambiguity Index&Ranking Order \\
\hline
\textit{A} & & 0.5450 & 0.5450 & \\
\textit{B} & $\lambda=0.10$, $\mu=0.40$, $\nu=0.50$ & 0.6451 & 0.6451 & $B>C>A$ \\
\textit{C} & & 0.6035 & 0.6035 & \\
\hline
\textit{A} & & 0.5450 & 0.5450 & \\
\textit{B} & $\lambda=0.10$, $\mu=0.40$, $\nu=0.50$ & 0.6451 & 0.6451 & $B>C>A$ \\
\textit{C} & & 0.6035 & 0.6035 & \\
\hline
\end{tabular}
\end{center}
\end{table}
\end{landscape}
\begin{landscape}
\begin{table}[p]
\begin{center}
\caption{Ranking results for alternatives}
\label{indices}
\begin{tabular}{|c|c|c|c|c|}
\hline
Alternative&Value of $\lambda,\mu,\nu$& Value Index&Ambiguity Index&Ranking Order \\
\hline
\textit{A} & \multirow{3}{*}{$\lambda=0.10$, $\mu=0.40$, $\nu=0.50$} & 0.5450 & 0.5450 & \\
\textit{B} & & 0.6451 & 0.6451 & $B>C>A$ \\
\textit{C} & & 0.6035 & 0.6035 & \\
\hline
\textit{A} & \multirow{3}{*}{$\lambda=0.10$, $\mu=0.40$, $\nu=0.50$} & 0.5450 & 0.5450 & \\
\textit{B} & & 0.6451 & 0.6451 & $B>C>A$ \\
\textit{C} & & 0.6035 & 0.6035 & \\
\hline
\end{tabular}
\end{center}
\end{table}
\end{landscape}
\begin{landscape}
\begin{table}[p]
\begin{center}
\caption{Ranking results for alternatives}
\label{indices}
\begin{tabular}{|c|c|c|c|c|}
\hline
Alternative&Value of $\lambda,\mu,\nu$& Value Index&Ambiguity Index&Ranking Order \\
\hline
\begin{tabular}{@{}>{\itshape}c@{}}A \\ B \\ C \end{tabular}
& $\lambda=0.10$, $\mu=0.40$, $\nu=0.50$
& \begin{tabular}{@{}>{\itshape}c@{}} 0.5450 \\ 0.6451 \\ 0.6035 \end{tabular}
& \begin{tabular}{@{}c@{}}0.5450 \\0.6451 \\ 0.6035 \end{tabular}
& $B>C>A$ \\
\hline
\begin{tabular}{@{}>{\itshape}c@{}}A \\ B \\ C \end{tabular}
& $\lambda=0.10$, $\mu=0.40$, $\nu=0.50$
& \begin{tabular}{@{}>{\itshape}c@{}} 0.5450 \\ 0.6451 \\ 0.6035 \end{tabular}
& \begin{tabular}{@{}c@{}}0.5450 \\0.6451 \\ 0.6035 \end{tabular}
& $B>C>A$ \\
\hline
\end{tabular}
\end{center}
\end{table}
\end{landscape}
\end{document}