表格有问题。无法编译,因为此行有几个问题:-Extra },或忘记插入 -Missing }

表格有问题。无法编译,因为此行有几个问题:-Extra },或忘记插入 -Missing }
\begin{table}[H]
\centering
\noindent
\begin{tabularx}{\linewidth}{*{2}sb}
\hline
\renewcommand{\arraystretch}{3}
\textbf{Concept} & \textbf{Mathematical notation} & \textbf{Definition}
 \\\hline Graph &   \textit{G (N, $\pounds)} & Model for a network with a set of
 nodes connected by a set of ties \\
Node & \textit{N = {[n_1, n_2, n_3, , n_g]}} & Organizations depicted in the
graph\\
Tie & \textit{$\pounds = {[l_1, l_2, l_3, , l_L]}} & Undirected connection
between nodes\\
Size & \textit{G} & The number of nodes in the graph \\
Degree of a node & \textit{size of $\pounds} & The number of ties in a nod\\
\hline
\end{tabularx}
\caption{Concepts and measurements in network analysis}
\label{cha4:Tab:concepts}
\end{table}

错误:此行存在几个问题:

-Extra },或者忘记了 $。\end{tabularx} (后跟:)

- 插入缺少 }。 \end{tabularx} (后跟: )

答案1

这看起来像是您要找的东西吗?另外,您是否\pounds与混淆了\mathcal{L}

\documentclass{article}
\usepackage{booktabs}
\usepackage{tabularx}
\begin{document}
\renewcommand\arraystretch{1.5}
\begin{tabularx}{\linewidth}{@{} *{2}{c} X @{}}
  \toprule
  \textbf{Concept} & \textbf{Mathematical notation}         & \textbf{Definition}                                                \\
  \midrule
  Graph            & $G (N, \pounds$)                       & Model for a network with a set of nodes connected by a set of ties \\
  Node             & $N = [n_1, n_2, n_3,\dots ,n_g]$       & Organizations depicted in the graph                                \\
  Tie              & $\pounds = [l_1, l_2, l_3,\dots ,l_L]$ & Undirected connection between nodes                                \\
  Size             & $G$                                    & The number of nodes in the graph                                   \\
  Degree of a node & size of $\pounds$                      & The number of ties in a nod                                        \\
  \bottomrule
\end{tabularx}
\end{document}

在此处输入图片描述

相关内容