新浪博客

LaTeX常见错误提示及其原因简析

2012-04-17 09:43阅读:

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 \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

常见错误

S.No Class 错误提示信息 错误原因简析
1 e_fileEnd ! File ended while scanning use of \end.

我的更多文章

下载客户端阅读体验更佳

APP专享