begin{table}[h]
\centering
\begin{tabular}{c p{5cm} c}\hline
Attribut & Description & Equation \\ \hline
$E$ & The set of objects that can't be distinguished from each other based on the available attributes & Let $P \subseteq A$ ,
E(P) = \{\ (x, y) \in U^2 : \foralla P, a(x) = a(y) \}\ \\
$ \beta $& Admissible error rate\\
$K$ & Grade level
\end{tabular}
\end{table}
因为我是乳胶的新手,当我使用以前的代码时,我在E ^(2)中的行E(P)= {\(x,y)\中得到此错误“缺少$ inserted”:\ foralla P, a(x)= a(y)} \ \ 任何人都可以帮我解决这个错误。
答案 0 :(得分:2)
好吧,你错过了$
:)等式E(P) ...
必须在数学模式中排版:
\documentclass{standalone}
\usepackage{amsmath}
\begin{document}
\begin{tabular}{c p{5cm} c}\hline
Attribut & Description & Equation \\ \hline
$E$ & The set of objects that can't be distinguished from each other based on the available attributes & Let $P \subseteq A$ ,
$E(P) = \{\ (x, y) \in U^2 : \forall P, a(x) = a(y) \}$ \\
$ \beta $& Admissible error rate\\
$K$ & Grade level
\end{tabular}
\end{document}
此外,请确保包含完整且可编辑的文档,其中包含重现问题所需的最少包和定义。