Latex常见错误解析

来源:互联网 发布:php入门看什么书 编辑:程序博客网 时间:2024/05/16 11:07

Latex Error Classes

http://blog.sina.com.cn/s/blog_5e16f1770100pawb.html

转自:http://blog.sina.com.cn/s/blog_5e16f1770100pawb.html

较为模糊的错误

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.NoClass错误提示信息错误原因简析1e_des! LaTeX Error: There's no line here to endUsage of \\ at the end of a long label in 'description' environment2e_center! LaTeX Error: There's no line here to endUsage of \\ after the heading line in 'center' environment3e_foot! Argument of \@sect has an extra }Usage of a fragile command 'footnote' within \section4e_ragged! Argument of \@caption has an extra }Usage of \\ within \raggedright or \raggedleft environment5e_and! Extra alignment tab has been changed to \crToo many &s in a row of a table or array or eqnarray.6e_cline! Extra alignment tab has been changed to \crReference no non existing column in \cline7e_col! Extra alignment tab has been changed to \cr.Usage @ in tabular* environment8e_num! Missing number treated as zeroUsage of non numeric parameter after \\9e_asteriskMissing * at the end of the line* is not printed when used without brace after \\10e_pbox_miss! Missing number, treated as zero.\parbox[t]{} ..Missing argument to parbox11e_mis_circle! Missing number, treated as zero.Missing numeric parameter to \circle12e_list! Argument of \lst@next has an extra }Usage of 1stlisting inside fragile command \parbox13e_capacity! TeX capacity exceeded, sorry [input stack size=1500]Usage of 1stlisting inside fragile command \parbox14e_runawayRunaway argument?Generally because of missing braces, e.g \cline{1-2 instead of \cline{1-2}15e_verbatimRunaway argument?Usage of verbatim within scope of another command e.g: \ifthenelse16e_undefined! Undefined control sequenceUsage of an unknown command17e_footnote! Undefined control sequenceUsage of \footnote within \footnote18e_integral! Missing { inserted.Integral bounds are malformed19e_zeta! Missing { inserted.Extra subscript before integral upper limit term20e_bezier! Illegal unit of measure (pt inserted).Missing numeric argument to \qbezier21e_too_bezier! Illegal unit of measure (pt inserted).Too many arguments to \qbezier22e_unit! Illegal unit of measure (pt inserted)\parbox[t]{2} ..Illegal unit of second parameter23e_symfoot! LaTeX Error: Counter too large.More than 9 footnotes when using symbolic footnotes24e_large_count! LaTeX Error: Counter too large.Trying to display a corresponding letter for a counter vallue >2625e_begin! LaTeX Error: Missing \begin{document}Either text has been placed before \begin{document} or \begin{document} is missing26e_margin! LaTeX Error: Missing \begin{document}.Misuse of \marginsize

常见错误

S.NoClass错误提示信息错误原因简析1e_fileEnd! File ended while scanning use of \end.Generally caused because of missing a brace2e_endNo message only an asterisk, i.e *Missing \end{document}3e_illegalLaTeX Error: Illegal character in array argUsage of a letter other than r,l and c in tabular environment4e_tab! Misplaced alignment tab character &Missing \begin{tabular} while using tabular environment5e_backslash! Missing \endcsname insertedUsage of a backslash in front of the name of an environment, e.g \begin{\itemize}6e_delimiter! LaTeX Error: Bad math environment delimiterMissing \right immediately after the array environment7e_right! Extra \right\right has no matching \left OR \end{array} is missing8e_package! LaTeX Error: Can only be used in preambleUsage of \usepackage outside the preamble9e_math! Missing $ insertedMissing a starting or ending $ in Math mode, e.g m_e instead of $m_e$10e_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}11e_cmd! LaTeX Error: Command ... already definedTrying to define already existing command, e.g \newcommand{\time}12e_caption! LaTeX Error: \caption outside float\caption{...} used outside table environment13e_braces! Too many }'sMissing \begin{table}statement14e_parbox! Argument of \@caption has an extra }Usage of \parbox in a \caption15e_item! LaTeX Error: Something's wrong--perhaps a missing \itemMissing \item within enumerate environment16e_fraction! Argument of \end has an extra }Misuse of fraction cmd e.g \frac{1,2}17e_verb! LaTeX Error: \verb ended by end of lineNewline after \verb, e.g. \verb*dir*18e_invalid! LaTeX Error: Command \end{itemize} invalid in math modeMissing $ while using math mode in \itemize19e_equation! Display math should end with $$Usage of $$ inside equation mode20e_column! Misplaced \omitUsage of \newcommand and \multicolumn within tabular environment21e_subscript! Double subscript.Usage of double subscript22e_cls! LaTeX Error: File `artcle.cls' not found.Missing .sty or .cls file23e_nofile! LaTeX Error: File `file1.tex' not found.Missing file1.tex, e.g. \input{file1.tex}24e_sty! LaTeX Error: File `anysize1.sty' not foundUse of unavailable package25e_doc_class! LaTeX Error: Can be used only in preamble.Usage of \documentclass outside preamble26e_circle! LaTeX Error: Command \circle invalid in math mode.Usage of \circle in math mode27e_picture! Use of \pictur@ doesn't match its definition.Bad parameter to \picture28e_line! Use of \put dosen't match its definitionBadly formatted \line directive29e_line_arg! LaTeX Error: Bad \line or \vector argument.Bad \line parameter30e_counter! LaTeX Error: No counter '10' defined.Counter undefined31e_outer! LaTeX Error: Not in outer par mode.Using figure inside parbox32e_minipage! LaTeX Error: Not in outer par mode.Using figure minipage33e_lost! LaTeX Error: Float(s) lost.Counter undefined34e_lonely! LaTeX Error: Lonely \item--perhaps a missing list environment.Usage of \item outside list environment35e_parg! LaTeX Error: Missing p-arg in array arg.Missing p argument in tabular environment36e_hash! You can't use `macro parameter character #' in vertical mode.Usage of # in normal mode37e_enlarge! LaTeX Error: Suggested extra height (14454.0pt) dangerously large.Too big a number given in \enlargethispage38e_deftab! LaTeX Error: Undefined tab position.Undefined tabbing39e_pushtab! LaTeX Error: \pushtabs and \poptabs don't match.Unequal numbers of push and pop tabs40e_overtab! LaTeX Error: Tab overflow.Too many \= in tabbing environment41e_nest! LaTeX Error: Too deeply nested.Too many list environments42e_eqnarray! LaTeX Error: Too many columns in eqnarray environment.More than three columns in eqnarray43e_classpkg! LaTeX Error: \usepackage before \documentclass.Usage of usepackage before loading documentclass44e_load! LaTeX Error: Two \LoadClass commands.More than one load class command45e_require! LaTeX Error: \RequirePackage or \LoadClass in Options Section.RequirePackage may not be used with \DeclareOption46e_twoclass! LaTeX Error: Two \documentclass or \documentstyle commands.More than one documentclass declaration47e_font! LaTeX Error: This NFSS system isn't set up properly.Invalid font used in \DeclareErrorFont48e_superscript! Double superscript.Usage of two superscripts for the same variable, e.g. 2^3^449e_clash_opt! LaTeX Error: Option clash for package csvtools.Clashing options for the same package50e_unknown_opt! LaTeX Error: Unknown option ... for package ...Unkown option for a package51e_hyphenation! Improper \hyphenation will be flushed.Improper parameter to \hyphenation52e_stack_size! TeX capacity exceeded, sorry [main memory size=1000000]Overflow of buffer due to mistake in command definition53e_environment! LaTeX Error: Environment ... undefined.Undefined environment54e_midline! LaTeX Error: \< in mid lineCommand \< may appear only at the beginning of a line55e_infiniteGoes into infinite loopUsage of \\strut\hrule

0 0
原创粉丝点击