1. 程式人生 > >LaTeX常見錯誤及原因解析

LaTeX常見錯誤及原因解析

Latex Error Classes

較為模糊的錯誤

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 錯誤提示資訊 錯誤原因簡析
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 \[email protected] 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

常見錯誤

S.No Class 錯誤提示資訊 錯誤原因簡析
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 mem_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. \verbdir
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 \[email protected] 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. 234
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

相關推薦

LaTeX常見錯誤原因解析

Latex Error Classes 較為模糊的錯誤 This is a list of error classes with ambiguos error messages. Here either the errors are have different

java程式除錯中常見錯誤原因彙總

1,類似以下錯誤:  TestVar2.java:12: 錯誤: 找不到符號                 System.out.pringln("c1="+c1);                                      ^   符號:   方法 pr

解析專案中Jenkins配置的常見錯誤心得:

Jenkins的搭建檔案和配置過程,大家可以找我,簡單記錄一下對Jenkins的認識! 關鍵兩個部分的理解: /t:ResolveReferences;Compile/t:_CopyWebApplic

jsp 資料庫連線學習記常見錯誤原因

一.233錯誤、      已成功與伺服器建立連線,但是在登入過程中發生錯誤。(provider:命名管道提供程式,error:0-管道的另一端上無任何程序。)(Microsoft SQL Server,錯誤:233)     1.開啟“Microsoft SQL Ser

在myeclipse中使用maven前常見錯誤解決辦法

eclips aam lai loj yate ren err jar ued %E4%BD%BF%E7%94%A8CHttpFile%E4%BB%8E%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%AB%AF%E6%AD%A3%E7%A1%AE%E7%9A%

MVC MVC常見錯誤解決辦法

.cn log entity ash cnblogs vid services ron strong MVC常見錯誤及解決辦法 問題1: 必須添加對程序集“EntityFramework, Version=5.0.0.0, Culture=neutral,

web程序常見錯誤解決方法

開始 個數字 ice 依據 文件中 方法參數 500錯誤 程序 運行 404錯誤產生原因及解決方法 在剛開始進行Web應用開發的時候,經常看見頁面出現404這個數字,我們一般會稱之為運行產生了404錯誤。類似於404這個數字,還有可能在頁面上看到405、500這兩個數字,他

流程圖設計的常見錯誤糾正建議

流程圖設計 流程圖 設計 錯誤 糾正 我目前正在企業做咨詢,不同的企業人員在首次設計流程圖時所犯錯誤基本相同,或者說常見錯誤一樣。因此,我想列舉一下企業員工設計流程圖的常見錯誤,只要大家把錯誤改正了,就能設計出美觀實用的流程圖來。我發現的流程圖設計常見錯誤如下:●張冠李戴,結構流程與活動流

jenkins 常見錯誤解決方法整理

ref 令行 follow ESS tro windows ins 常見錯誤 以管理員身份運行 現象 WMI.WmiException:AccessDenied 解決方法: 以管理員身份運行 cmd 命令行 jenkins-slave install jenkins

ENVI FLAASH大氣校正常見錯誤解決方法(轉載)

ENVI FLAASH大氣校正常見錯誤及解決方法(轉載) 本文彙總了ENVI FLAASH大氣校正模組中常見的錯誤,並給出解決方法,分為兩部分:執行錯誤和結果錯誤。前面是錯誤提示及說明,後面是錯誤解釋及解決方法。 FLAASH對輸入資料型別有以下幾個要

nginx常見錯誤解決方法

nginx: [error] open() “/var/run/nginx.pid” failed (2: No such file or directory) 今天修改了下nginx配置,重新載入配置檔案的時候報瞭如下錯誤 [root@renguangli ~]# nginx

elasticsearch常見錯誤解決方案

1.OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threa

Nginx常見錯誤解決辦法

1、Nginx 常見啟動錯誤  有的時候初次安裝nginx的時候會報這樣的錯誤  sbin/nginx -c conf/nginx.conf  報錯內容:sbin/nginx: error while&nbs

java中在使用類時的一些常見錯誤解決方法

關於java中類的一些常見錯誤及解決方法 1.定義了一個主類,如 public class TestCircle{//此時這裡會顯示“class TestCircle”has never been used“ public void main(String[] args){…}; class

Linux下編譯PHP常見錯誤解決方法

locate freetype evel distrib 常見 expec fin install erro 1、configure: error: xml2-config not found. Please check your libxml2 installation.

傳統複製常見錯誤填坑方法

傳統複製常見錯誤及填坑方法 環境 1、表不存在導致插入更新失敗 1.1、模擬複製錯誤產生 1.1.1、生成測試表sbtest.test 1.1.2、在備庫上檢視是否同步test表 1.1.3、主庫上往test表中

loadrunner的幾種常見錯誤解決辦法

1、錄製loadrunner指令碼時,無法生成指令碼,錄製過程中事物都有顯示,我把所有防火牆和網路保護都關了,但是指令碼就是無法生成,協議之類的都是對的。  解決: 在錄製選項option->network->     ort Map

loadrunner執行場景時,常見錯誤解決方法

目錄   1、Error -27727:.3 2、Error -27728:.3 3、Error -27791:.3 4、Error -27492:.4 5、Error -27498:.4 6、Error -26612:.4

windows下 composer常見錯誤處理。

windows下 composer常見錯誤及處理。 2016年12月22日 20:40:37 閱讀數:1501 windows下 composer常見錯誤及處理。 錯誤一: Warning: This development build of composer is over 30 da

Nginx常見錯誤處理方法

原文轉載:https://www.cnblogs.com/liyongsan/p/6795851.html 404 bad request 一般原因:請求的Header過大。 解決方法:配置nginx.conf相關設定 client_header_buffer_size