答案1
你可以尝试我的方法。
\documentclass[border=5pt]{standalone}
\usepackage{diagbox}
\begin{document}
\begin{tabular}{c|ccccc||c}
\diagbox{Row}{Col} & 1 & $\cdots$ & j & $\cdots$ & 100 & 101 \\
\hline
\vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\
1 & $\chi_1(\lambda_1)$ & $\cdots$ & $\chi_1(\lambda_j)$ & $\cdots$ & $\chi_1(\lambda_{100})$ & $\chi_1(\lambda_{101})$ \\
\vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\
i & $\chi_i(\lambda_1)$ & $\cdots$ & $\chi_i(\lambda_j)$ & $\cdots$ & $\chi_i(\lambda_{100})$ & $\chi_i(\lambda_{101})$ \\
\vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\
215 & $\chi_{215}(\lambda_1)$ & $\cdots$ & $\chi_{215}(\lambda_j)$ & $\cdots$ & $\chi_{215}(\lambda_{100})$ & $\chi_{215}(\lambda_{101})$ \\
\end{tabular}
\end{document}
我建议尽量少用垂直线。
编辑
对于其他\documentclass
,您可以定义一个table
环境并指定对齐。
\documentclass{article}
\usepackage{diagbox} %for the (Row/Col) stuff
\begin{document}
\begin{table}[htb!]
\centering
\begin{tabular}{c|ccccc||c}
\diagbox{Row}{Col} & 1 & $\cdots$ & j & $\cdots$ & 100 & 101 \\
\hline
\vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\
1 & $\chi_1(\lambda_1)$ & $\cdots$ & $\chi_1(\lambda_j)$ & $\cdots$ & $\chi_1(\lambda_{100})$ & $\chi_1(\lambda_{101})$ \\
\vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\
i & $\chi_i(\lambda_1)$ & $\cdots$ & $\chi_i(\lambda_j)$ & $\cdots$ & $\chi_i(\lambda_{100})$ & $\chi_i(\lambda_{101})$ \\
\vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\
215 & $\chi_{215}(\lambda_1)$ & $\cdots$ & $\chi_{215}(\lambda_j)$ & $\cdots$ & $\chi_{215}(\lambda_{100})$ & $\chi_{215}(\lambda_{101})$ \\
\end{tabular}
\end{table}
\end{document}