latex - !额外},或者忘记\endgroup。 latex

标签 latex

嘿,我遇到了这些 latex 格式问题,有人可以提供一些帮助吗?

.tex 文件:

  \begin{table}{}
  \renewcommand{\arraystretch}{1.1}
  \caption{Cambridge Flow feature definition and description}
  \label{cambridge-feature}}
  \centering
  \begin{tabular}{|c|c|}
  \hline\bfseries Abbreviation &\bfseries Description\\
  \hline
  serv-port & Server port\\
  \hline
  clnt-port & Client port\\
  \hline
  push-pkts-serv & count of all packets with\\ 
   & push bit set in TCP header (server to client)\\
  \hline
  init-win-bytes-clnt & the total number of bytes \\
  & sent in initial window (client to server)\\
  \hline
  init-win-bytes-serv & the total number of bytes sent\\
  & in initial window (server to client)\\
  \hline
  avg-seg-size-clnt & average segment size: \\
  & data bytes devided by number of packets\\
  \hline
  IP-bytes-med-clnt & median of total bytes in IP packet\\
  \hline
  act-data-pkt-serv & count of packet with at least one byte \\
  & of TCP data playload (server to client)\\
  \hline
  data-bytes-var-clnt & variance of total \\
  & bytes in packets (client to server)\\
  \hline
  min-seg-size-serv & minimum segment size \\
  & observed (server to client)\\
  \hline
  RTT-samples-serv & total number of RTT samples\\
  & found (server to client),\\
  & {\bf see also \cite{Moore05discriminators}}\\
  \hline
  push-pkts-clnt &  count of all packets with push bit set \\
  & in TCP header (server to client)\\
  \hline
  \end{tabular}
  \end{table}

和错误消息:

! Extra }, or forgotten \endgroup.
\@endfloatbox ...pagefalse \outer@nobreak \egroup
\color@endbox
l.892 \end{table}

我删除了一个组结束符号,因为它似乎是 虚假的,如 $x}$' 中所示。但也许 } 是合法的并且 你忘记了其他东西,如\hbox{$x}'。在这种情况下 恢复的方法是将被遗忘的和被遗忘的都插入 已删除 Material ,例如通过输入“I$}”。

我的表中没有 $,而且这个 { 与 } 匹配,并且在我评论引用后,错误仍然存​​在。

有人可以提供帮助吗?

非常感谢所有的评论!

! Extra }, or forgotten \endgroup.

最佳答案

这一行:

  \label{cambridge-feature}}

有一个额外的右括号。

关于latex - !额外},或者忘记\endgroup。 latex ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2854265/

相关文章:

latex - 目录链接指向错误的页面

latex - 你如何在 LaTeX 中扩展文章文档类?

latex - 使用 latex 中的wrapfig包包裹的图形位于文本下方

r - knitr: block 中的代码意外地被包装

html - MathJax 或类似 : render arbitrary HTML element inside expression?

python - 在 django 中渲染 Latex/MathJax 方程

pdf - 如何提取PDF的大小? (尺寸,不是文件大小)

python - 将自定义 latex 脚本导入 pylatex 文档

latex - latex 错误:环保未定义

r - 在 r bookdown 中更改章节颜色(pdf 输出)