\newpage
\section{Maxwell Relations}
\section{Greeks Alphabet}
\begin{table}[h!]
\centering
\begin{tabular}{|c|c|c|c|} \\ \hline
Capital & Lower-case & Greek Name & English \\ \hline
A & \alpha & Alpha & a\\ \hline
B & \beta & Beta & b \\ \hline
$\Gamma$ & \gamma & Gamma & g \\ \hline
$\Delta$ & \delta & Delta & d \\ \hline
E & \epsilon & Epsilon & e \\ \hline
Z & \zeta & Zeta & z \\ \hline
H & \eta & Eta & h \\ \hline
$\Theta$ & \theta & Theta & th \\ \hline
I & \iota & Iota & i \\ \hline
K & \kappa & Kappa & k \\ \hline
$\Lambda$ &\lambda & Lambda & l \\ \hline
M & \mu & Mu & m \\\hline
N & \nu & Nu & n \\ \hline
$\Xi$ & \xi & Xi & x \\ \hline
O & Eisha latif & Omicron & o\\ \hline
$\Pi$ & \pi & Pi & p \\ \hline
P & \rho & Rho & r\\ \hline
$\Sigma$ & \sigma & Sigma & s \\ \hline
T & \tau & Tau & T \\ \hline
$\Upsilon$ & \upsilon & Upsilon & u \\ \hline
$\Phi$ & \phi & Phi & ph \\ \hline
X & \chi & Chi & ch \\ \hline
$\Psi$ & \psi & Psi &ps \\ \hline
$\Omega$ & \omega & Omega & o \\ \hline
\end{tabular}
\caption{Greek Table}
\label{Greek}
\end{table}
答案1
- 请考虑@ leandriis 的评论,并在您在此处发布之前始终测试您的 MWE(通过这种方式,您可以删除其中与您的问题无关的所有错误)
- 您的问题的原因在@AboAmmar 评论中描述
- 作为练习,这个
tabularray
包是多功能的:
\documentclass{article}
\usepackage{amsmath}
\usepackage{tabularray}
\NewColumnType{M}{>{$}c<{$}} % column with math content
\begin{document}
\section{Maxwell Relations}
\section{Greeks Alphabet}
\begin{table}[h!]
\centering
\begin{tblr}{hline{1,2,26} = {1pt,solid},
hline{3-25} = {dashed},
vlines,
colspec={c M ll}
}
Capital & \text{Lower-case}
& Greek Name & English \\
A & \alpha & Alpha & a \\
B & \beta & Beta & b \\
$\Gamma$ & \gamma & Gamma & g \\
$\Delta$ & \delta & Delta & d \\
E & \epsilon & Epsilon & e \\
Z & \zeta & Zeta & z \\
H & \eta & Eta & h \\
$\Theta$ & \theta & Theta & th \\
I & \iota & Iota & i \\
K & \kappa & Kappa & k \\
$\Lambda$ &\lambda & Lambda & l \\
M & \mu & Mu & m \\
N & \nu & Nu & n \\
$\Xi$ & \xi & Xi & x \\
O & \text{Eisha latif}
& Omicron & o \\
$\Pi$ & \pi & Pi & p \\
P & \rho & Rho & r \\
$\Sigma$ & \sigma & Sigma & s \\
T & \tau & Tau & t \\
$\Upsilon$ & \upsilon & Upsilon & u \\
$\Phi$ & \phi & Phi & ph \\
X & \chi & Chi & ch \\
$\Psi$ & \psi & Psi & ps \\
$\Omega$ & \omega & Omega & o \\
\end{tblr}
\caption{Greek Table}
\label{Greek}
\end{table}
\end{document}