【转】latex常见错误对照表

2023-11-07

原文链接:http://www.cs.utexas.edu/~witchel/errorclasses.html



Latex Error Classes

Ambiguous Errors

This is a list of error classes with ambiguos error messages. Here either the errors are have different causes and the message output is same or else the errors have the same root cause but the messages are different.

S.No Class Error Message Cause of Error
1 e_des ! LaTeX Error: There's no line here to end Usage of \\ at the end of a long label in 'description' environment
2 e_center ! LaTeX Error: There's no line here to end Usage of \\ after the heading line in 'center' environment
3 e_foot  ! Argument of \@sect has an extra } Usage of a fragile command 'footnote' within \section
4 e_ragged  ! Argument of \@caption has an extra } Usage of \\ within \raggedright or \raggedleft environment
5 e_and  ! Extra alignment tab has been changed to \cr Too many &s in a row of a table or array or eqnarray.
6 e_cline  ! Extra alignment tab has been changed to \cr Reference no non existing column in \cline
7 e_col  ! Extra alignment tab has been changed to \cr. Usage @ in tabular* environment
8 e_num  ! Missing number treated as zero Usage of non numeric parameter after \\
9 e_asterisk Missing * at the end of the line * is not printed when used without brace after \\
10 e_pbox_miss  ! Missing number, treated as zero. \parbox[t]{} ..Missing argument to parbox
11 e_mis_circle  ! Missing number, treated as zero. Missing numeric parameter to \circle
12 e_list  ! Argument of \lst@next has an extra } Usage of 1stlisting inside fragile command \parbox
13 e_capacity  ! TeX capacity exceeded, sorry [input stack size=1500] Usage of 1stlisting inside fragile command \parbox
14 e_runaway Runaway argument? Generally because of missing braces, e.g \cline{1-2 instead of \cline{1-2}
15 e_verbatim Runaway argument? Usage of verbatim within scope of another command e.g: \ifthenelse
16 e_undefined ! Undefined control sequence Usage of an unknown command
17 e_footnote ! Undefined control sequence Usage of \footnote within \footnote
18 e_integral  ! Missing { inserted. Integral bounds are malformed
19 e_zeta  ! Missing { inserted. Extra subscript before integral upper limit term
20 e_bezier  ! Illegal unit of measure (pt inserted). Missing numeric argument to \qbezier
21 e_too_bezier  ! Illegal unit of measure (pt inserted). Too many arguments to \qbezier
22 e_unit  ! Illegal unit of measure (pt inserted) \parbox[t]{2} ..Illegal unit of second parameter
23 e_symfoot  ! LaTeX Error: Counter too large. More than 9 footnotes when using symbolic footnotes
24 e_large_count  ! LaTeX Error: Counter too large. Trying to display a corresponding letter for a counter vallue >26
25 e_begin ! LaTeX Error: Missing \begin{document} Either text has been placed before \begin{document} or \begin{document} is missing
26 e_margin  ! LaTeX Error: Missing \begin{document}. Misuse of \marginsize

Common Errors

S.No Class Error Message Cause of Error
1 e_fileEnd ! File ended while scanning use of \end. Generally caused because of missing a brace
2 e_end No message only an asterisk, i.e * Missing \end{document}
3 e_illegal LaTeX Error: Illegal character in array arg Usage of a letter other than r,l and c in tabular environment
4 e_tab ! Misplaced alignment tab character & Missing \begin{tabular} while using tabular environment
5 e_backslash ! Missing \endcsname inserted Usage of a backslash in front of the name of an environment, e.g \begin{\itemize}
6 e_delimiter ! LaTeX Error: Bad math environment delimiter Missing \right immediately after the array environment
7 e_right ! Extra \right \right has no matching \left OR \end{array} is missing
8 e_package ! LaTeX Error: Can only be used in preamble Usage of \usepackage outside the preamble
9 e_math ! Missing $ inserted Missing a starting or ending $ in Math mode, e.g m_e instead of $m_e$
10 e_parameter ! Illegal parameter number in definition of... Usage of parameter number greater than the number of parameters defined in \newcommand, e.g \newcommand{\test}[1]{#3}
11 e_cmd ! LaTeX Error: Command ... already defined Trying to define already existing command, e.g \newcommand{\time}
12 e_caption  ! LaTeX Error: \caption outside float \caption{...} used outside table environment
13 e_braces  ! Too many }'s Missing \begin{table}statement
14 e_parbox  ! Argument of \@caption has an extra } Usage of \parbox in a \caption
15 e_item  ! LaTeX Error: Something's wrong--perhaps a missing \item Missing \item within enumerate environment
16 e_fraction  ! Argument of \end has an extra } Misuse of fraction cmd e.g \frac{1,2}
17 e_verb  ! LaTeX Error: \verb ended by end of line Newline after \verb, e.g. \verb*dir*
18 e_invalid  ! LaTeX Error: Command \end{itemize} invalid in math mode Missing $ while using math mode in \itemize
19 e_equation  ! Display math should end with $$ Usage of $$ inside equation mode
20 e_column  ! Misplaced \omit Usage of \newcommand and \multicolumn within tabular environment
21 e_subscript  ! Double subscript. Usage of double subscript
22 e_cls  ! LaTeX Error: File `artcle.cls' not found. Missing .sty or .cls file
23 e_nofile  ! LaTeX Error: File `file1.tex' not found. Missing file1.tex, e.g. \input{file1.tex}
24 e_sty  ! LaTeX Error: File `anysize1.sty' not found Use of unavailable package
25 e_doc_class  ! LaTeX Error: Can be used only in preamble. Usage of \documentclass outside preamble
26 e_circle  ! LaTeX Error: Command \circle invalid in math mode. Usage of \circle in math mode
27 e_picture  ! Use of \pictur@ doesn't match its definition. Bad parameter to \picture
28 e_line  ! Use of \put dosen't match its definition Badly formatted \line directive
29 e_line_arg  ! LaTeX Error: Bad \line or \vector argument. Bad \line parameter
30 e_counter  ! LaTeX Error: No counter '10' defined. Counter undefined
31 e_outer  ! LaTeX Error: Not in outer par mode. Using figure inside parbox
32 e_minipage  ! LaTeX Error: Not in outer par mode. Using figure minipage
33 e_lost  ! LaTeX Error: Float(s) lost. Counter undefined
34 e_lonely  ! LaTeX Error: Lonely \item--perhaps a missing list environment. Usage of \item outside list environment
35 e_parg  ! LaTeX Error: Missing p-arg in array arg. Missing p argument in tabular environment
36 e_hash  ! You can't use `macro parameter character #' in vertical mode. Usage of # in normal mode
37 e_enlarge  ! LaTeX Error: Suggested extra height (14454.0pt) dangerously large. Too big a number given in \enlargethispage
38 e_deftab  ! LaTeX Error: Undefined tab position. Undefined tabbing
39 e_pushtab  ! LaTeX Error: \pushtabs and \poptabs don't match. Unequal numbers of push and pop tabs
40 e_overtab  ! LaTeX Error: Tab overflow. Too many \= in tabbing environment
41 e_nest  ! LaTeX Error: Too deeply nested. Too many list environments
42 e_eqnarray  ! LaTeX Error: Too many columns in eqnarray environment. More than three columns in eqnarray
43 e_classpkg  ! LaTeX Error: \usepackage before \documentclass. Usage of usepackage before loading documentclass
44 e_load  ! LaTeX Error: Two \LoadClass commands. More than one load class command
45 e_require  ! LaTeX Error: \RequirePackage or \LoadClass in Options Section. RequirePackage may not be used with \DeclareOption
46 e_twoclass  ! LaTeX Error: Two \documentclass or \documentstyle commands. More than one documentclass declaration
47 e_font  ! LaTeX Error: This NFSS system isn't set up properly. Invalid font used in \DeclareErrorFont
48 e_superscript  ! Double superscript. Usage of two superscripts for the same variable, e.g. 2^3^4
49 e_clash_opt  ! LaTeX Error: Option clash for package csvtools. Clashing options for the same package
50 e_unknown_opt  ! LaTeX Error: Unknown option ... for package ... Unkown option for a package
51 e_hyphenation  ! Improper \hyphenation will be flushed. Improper parameter to \hyphenation
52 e_stack_size  ! TeX capacity exceeded, sorry [main memory size=1000000] Overflow of buffer due to mistake in command definition
53 e_environment  ! LaTeX Error: Environment ... undefined. Undefined environment
54 e_midline  ! LaTeX Error: \< in mid line Command \< may appear only at the beginning of a line
55 e_infinite Goes into infinite loop Usage of \\strut\hrule


http://www.cs.utexas.edu/~witchel/errorclasses.html
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

【转】latex常见错误对照表 的相关文章

  • 如何将Excel中的每个条目转换为一行“矩阵”表

    我有类似的东西 1 2 3 a x o x b x x o c o o o 并想将其转换成像这样的线 1 a x 1 b x 1 c x 2 a o 2 b x 2 c o 3 a x 3 b o 3 c o 通过使用Excel文档中的公式
  • 是什么导致 Java(冰雹序列)在我的程序中崩溃

    我制作了一个执行 通常称为 冰雹序列的程序 该程序基本上执行以下操作 创建一个int 值 并为其分配一个值 如果 int 是偶数 则将其除以二 如果 int 为奇数 则将其乘以三并加一 继续这个过程 直到 n 等于 1 它似乎适用于大多数数
  • 如何删除字符串中某个字符之后的所有内容?

    如何删除Python中字符串的某个字符之后的所有内容 例如 我有一个包含文件路径和一些额外字符的字符串 如何删除 zip 后的所有内容 我试过了rsplit and split 但在删除多余字符时都不包含 zip 有什么建议么 只需取出拆分
  • 仅对小型设备使用偏移的中心引导列

    我正在尝试在图像旁边显示文本 我希望它仅在设备宽度低于 767px 时才堆叠 否则 我希望他们肩并肩 在此堆叠过程中 图像具有响应性 因此它占据了文本上方的整行 为了避免这种情况 我尝试在列为xs时限制列的大小 这可确保图像在指定的列大小内
  • 根据哈希值确认文件内容

    我需要 检查完整性 content文件数量 文件将写入 CD DVD 可能会被复制多次 这个想法是识别正确复制的副本 在从 Nero 等中删除它们之后 我对此很陌生 但快速搜索表明Arrays hashCode byte http down
  • 计算移动的球与移动的线/多边形碰撞的时间(2D)

    我有一个多边形 里面有一个移动的球 如果球撞到边界 它应该反弹回来 My current solution I split the polygon in lines and calculate when the ball hits the
  • 在 UNIX 中删除相同的文件

    我正在处理大量 30 000 个 大小约为 10MB 的文件 其中一些 我估计 2 实际上是重复的 我只需要为每个重复的对 或三元组 保留一个副本 您能建议我一种有效的方法吗 我正在unix上工作 您可以尝试使用此代码片段在删除之前先获取所
  • 二维随机微分方程 (SDE)

    我第一次研究随机微分方程 我正在寻求模拟和求解二维随机微分方程 模型如下 dp F t p dt G t p dW t where p 是一个 2 1 向量 p theta t phi t F是列向量 F sin theta Psi cos
  • 有没有好的 GLSL 哈希函数?

    所以我对这个问题的古老评论仍然得到了支持 GLSL rand 这一行代码的起源是什么 https stackoverflow com questions 12964279 whats the origin of this glsl rand
  • O(n^2) 与 O (n(logn)^2)

    时间复杂度是O n 2 or O n logn 2 better 我知道当我们简化它时 它就变成了 O n vs O logn 2 and logn lt n 但是关于logn 2 n is only less than log n 2 f
  • 为 javascript 编写一个真正具有包容性的随机方法

    Javascript MATH 对象有一个随机方法 该方法从集合 0 1 返回 0 含 0 1 不包括 有没有办法返回一个真正随机的方法 其中包括 1 e g var rand MATH random 2 if rand gt 1 rand
  • 涉及数学的方法给出与计算器不同的答案

    我是java新手 所以请耐心等待 我试图从比赛总数中获得胜利的百分比 但我正在做的事情还很遥远 我获取百分比的方法如下 public double winPercentage int wins int total return wins t
  • 是否可以创建一个包含多页 tiff 文件所有帧的 base64 字符串?

    使用已知的转换方法将多页 tiff 文件转换为 base64 字符串似乎只包含其中的一个页面 我从本地磁盘获取多页 tiff 文件 Image multiPageImage Image FromFile fileName 将其转换为 bas
  • R中按字母顺序对每一行字符串进行排序

    我环顾四周 似乎找不到解决这个问题的好方法 我有一个包含行名称的列 我想按字母顺序对每一行进行排序 以便稍后可以识别具有相同名称但顺序不同的行 数据如下 names lt c John D Josh C Karl H John D Bob
  • C/C++:指针算术

    我在读一点 指针算术 发现有两件事我无法理解 也不知道它的用途 address expression address expression and also address expression gt address expression
  • Zend_Cache_Backend_Sqlite 与 Zend_Cache_Backend_File

    目前我正在使用 Zend Cache Backend File 来缓存我的项目 尤其是来自外部 Web 服务的响应 我在想是否能找到将结构迁移到 Zend Cache Backend Sqlite 的一些好处 可能的优点是 文件系统有序 缓
  • xhr 响应 for 循环不起作用

    我有 xhr 和 for 循环 它的工作非常罕见 for var i 0 i lt this files length i var xhr new XMLHttpRequest xhr upload onprogress function
  • 使用 JSONKit 解析 JSON 文件

    我正在构建一个音叉应用程序 货叉应允许最多 12 个预设节距 此外 我希望允许用户选择一个主题 每个主题都会加载一组预设 不必使用所有预设 我的配置文件看起来像这样 theme A3 comment An octave below conc
  • 获取被调用的 javascript 文件的查询字符串

    是否可以在调用的 javascript 文件上使用 javascript 获取查询参数 如下所示 in html in file js console log this location query 这是否可能以某种方式实现 或者我必须使用
  • 如何解压 msgpack 文件?

    我正在将 msgpack 编码的数据写入文件 在编写时 我只是使用 C API 的 fbuffer 如 我为示例删除了所有错误处理 FILE fp fopen filename ab msgpack packer pk msgpack pa

随机推荐

  • CCF-CSP真题《202305-1 重复局面》思路+python,c++满分题解

    想查看其他题的真题及题解的同学可以前往查看 CCF CSP真题附题解大全 试题编号 202305 1 试题名称 重复局面 时间限制 1 0s 内存限制 512 0MB 问题描述 题目背景 国际象棋在对局时 同一局面连续或间断出现3次或3次以
  • 如何实现概率性事件

    游戏中经常会遇到概率性的问题 比如装备升级的成功率 合成宝石的成功率 洗装备时出现随机属性条数的概率等 这些概率性事件具体是怎么实现的呢 在网上看了一些相关的文章 总结一下 首先需要了解两个函数rand 和srand 下面是百科里面的解释
  • 如何存储Ajax请求的响应值

    如何存储Ajax请求的响应值 一 背景 二 代码部分 三 总结 一 背景 开发者使用Ajax请求网络 获取到了返回的结果 但开发者不想将回调函数写的过于冗长 因此希望将Ajax请求的返回值存储到一个变量中 方便后期取用 二 代码部分 代码部
  • Qt简介以及工程创建

    Qt是一种跨平台应用程序和UI开发框架 只需要一次性开发应用程序 可应用于不同的系统 Qt不是一个严格的前后端 而是一种框架 Qt Creator是一种全新跨平台 Qt IDE集成开发环境 可以单独使用 也可以与Qt库和开发工具组成一套完整
  • Unhandled exception at 0x00291422 in x.exe: 0xC0000005: Access violation writing location 0x37ACCE08

    源码如下 include
  • 线性表顺序存储の介绍、应用 与 实践(第二章: 线性表 )

    一 线性表的介绍 线性表 线性表 linear list 是n个具有相同特性的数据元素的有限序列 线性表是一种在实际中广泛使用的数据结构 常见的线性表 顺序表 链表 栈 队列 字符串 线性表在逻辑上是线性结构 也就说是连续的一条直线 但是在
  • 代码覆盖度工具OpenCppCoverage(cpp)、EclEmma(java)、Coverage(python)使用

    一 OpenCppCoverage cpp OpenCppCoverage是一个运行在windows上的程序 其不是在编译时进行插桩 而是在运行时 因此保证了代码和测试的一致性 参考文档 https github com OpenCppCo
  • 【c/c++】#pragma once 与 #ifndef 的区别解析

    原文地址 http blog csdn net hkx1n article details 4313303 作用 为了避免同一个文件被include多次 C C 中有两种方式 一种是 ifndef方式 一种是 pragma once方式 在
  • 智能指针使用陷阱

    智能指针使用陷阱 1 不能把一个原生指针交给多个智能指针管理 int x new int 10 unique ptr
  • android同步目录,如何使用FolderSync在安卓手机上同步文件夹到坚果云?

    FolderSync 是一款Android 端的文件同步工具 可以将手机中的文件自动同步到云端空间或者PC端 支持包括 FTP WebDAV Dropbox Amazon S3 FTP FTPS SFTP WebDAV等 可以使用WebDA
  • 几种图像的分割方法汇总

    图像分割指的是将原图像按照灰度 纹理 颜色 形状等划分成不同的区域 因此 在同一个区域间 呈现出具备一些相同的特点 而在不同的区域间 分割出的各个图像会有一定的差别 1 基于阈值的分割方法 基于阈值的分割方法是按照原图像的灰度特征划分出一个
  • k8s——kubectl

    目录 一 k8s管理操作方法 二 陈述式资源管理方法 1 基本信息查看 1 1 查看k8s版本信息 1 2 查看资源对象简写 1 3 查看集群信息 1 4 配置kubectl自动补全 1 5 node节点查看日志 2 基本信息查看 2 1
  • 大数据高频面试题【目录】

    大数据高频面试题 目录 小标题既超链接 点击可直接跳转 手写代码 Linux Shell Hadoop Flume Kafka Hive HBase Sqoop Scala Spark 项目中的常见问题 JavaSE Redis MySQL
  • LM393 电压比较器及其典型电路介绍

    这几天都在看一些开源项目 好多代码都没有什么注释 看烦了 看看小芯片吧 LM393 主要用途 限幅器 脉冲发生器 方波发生器 延时发生器 数字逻辑门电路 多频振荡器等等 引脚分布图 等效电路图 同相端电压大于反向端电压时 输出高电平 同相端
  • 【python】使用matplotlib绘制柱状图

    在制作图标时需要绘制柱状图 下面对其进行了绘制 主要就是使用matplotlib的bar函数 bar函数官方API为 matplotlib pyplot bar 下面是从一篇论文中随意截取的一段话 进行后续的绘制图像 import matp
  • 服务器故障排查方法总结

    服务器故障排查方法总结 问题描述 查找步骤 1 查找top检查服务器负载是否有问题 2 在服务器中查看网站的访问记录 3 这个时候先对数据库进行重启 对apache进行重启 4 查找数据库错误日志 问题描述 每当出现网站访问不了的时候 估计
  • Java list修改某个元素值的方法

    修改list中下标为index对象的值 set index element 增添 add index element
  • 在Android上修改读取IMEI码的方法

    我们知道 如果是移动设备 厂家都提供了IMEI码写入及读出的方法 但由于我们的是非移动设备 可是我们也需要写入IMEI码 供第三方的软件读取 如正版地图等 我们找到frameworks base telephony java android
  • selenium 隐式等待如何使用_selenium 中使用等待的三种方法

    现在很多的 web 网站使用 AJAX 技术 当页面加载到浏览器 这个页面的很多元素显示出来的可能不一致 如果一个元素还未加载出来 在定位的时候 就会抛出异常 ElementNotVisibleException 这个时候就要使用等待方法解
  • 【转】latex常见错误对照表

    原文链接 http www cs utexas edu witchel errorclasses html Latex Error Classes Ambiguous Errors This is a list of error class