Latex Error Classes PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

11/13/2014

Latex Error Classes

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
! LaTeX Error: There's no line
here to end
! LaTeX Error: There's no line
here to end
! Argument of \@sect has an
extra }
! Argument of \@caption has
an extra }
! Extra alignment tab has
been changed to \cr
! Extra alignment tab has
been changed to \cr
! Extra alignment tab has
been changed to \cr.
! Missing number treated as
zero

Cause of Error
Usage of \\ at the end of a long label in
'description' environment
Usage of \\ after the heading line in 'center'
environment
Usage of a fragile command 'footnote' within
\section
Usage of \\ within \raggedright or \raggedleft
environment
Too many &s in a row of a table or array or
eqnarray.

e_des

e_center

e_foot

e_ragged

e_and

e_cline

e_col

e_num

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

12

e_list

13

e_capacity

14

e_runaway

Runaway argument?

15

e_verbatim

Runaway argument?

16

e_undefined

! Undefined control sequence

Generally because of missing braces, e.g


\cline{1-2 instead of \cline{1-2}
Usage of verbatim within scope of another
command e.g: \ifthenelse
Usage of an unknown command

17
18
19

e_footnote
e_integral
e_zeta

! Undefined control sequence


! Missing { inserted.
! Missing { inserted.

Usage of \footnote within \footnote


Integral bounds are malformed
Extra subscript before integral upper limit term

20

e_bezier

! Missing number, treated as


zero.
! Argument of \lst@next has
an extra }
! TeX capacity exceeded,
sorry [input stack size=1500]

! Illegal unit of measure (pt

http://www.cs.utexas.edu/~witchel/errorclasses.html

Reference no non existing column in \cline


Usage @ in tabular* environment
Usage of non numeric parameter after \\

Missing numeric parameter to \circle


Usage of 1stlisting inside fragile command
\parbox
Usage of 1stlisting inside fragile command
\parbox

Missing numeric argument to \qbezier


1/5

11/13/2014

21
22
23

Latex Error Classes

inserted).
! Illegal unit of measure (pt
e_too_bezier
inserted).
! Illegal unit of measure (pt
e_unit
inserted)
! LaTeX Error: Counter too
e_symfoot
large.

24

e_large_count

! LaTeX Error: Counter too


large.

25

e_begin

! LaTeX Error: Missing


\begin{document}

26

e_margin

! LaTeX Error: Missing


\begin{document}.

Too many arguments to \qbezier


\parbox[t]{2} ..Illegal unit of second parameter
More than 9 footnotes when using symbolic
footnotes
Trying to display a corresponding letter for a
counter vallue >26
Either text has been placed before
\begin{document} or \begin{document} is
missing
Misuse of \marginsize

Common Errors
S.No Class

Error Message
! File ended while
scanning use of \end.
No message only an
asterisk, i.e *
LaTeX Error: Illegal
character in array arg
! Misplaced alignment tab
character &

Cause of Error

e_fileEnd

Generally caused because of missing a brace

e_end

e_illegal

e_tab

e_backslash

! Missing \endcsname
inserted

Usage of a backslash in front of the name of an


environment, e.g \begin{\itemize}

e_delimiter

! LaTeX Error: Bad math


environment delimiter

Missing \right immediately after the array


environment

e_right

! Extra \right

\right has no matching \left OR \end{array} is


missing

e_package

! LaTeX Error: Can only


be used in preamble

Usage of \usepackage outside the preamble

e_math

! Missing $ inserted

10

e_parameter

11

e_cmd

12

e_caption

13

e_braces

14

e_parbox

Missing \end{document}
Usage of a letter other than r,l and c in tabular
environment
Missing \begin{tabular} while using tabular
environment

Missing a starting or ending $ in Math mode, e.g


m_e instead of $m_e$
Usage of parameter number greater than the
! Illegal parameter number
number of parameters defined in \newcommand,
in definition of...
e.g \newcommand{\test}[1]{#3}
! LaTeX Error: Command Trying to define already existing command, e.g
... already defined
\newcommand{\time}
! LaTeX Error: \caption
outside float
! Too many }'s
! Argument of \@caption

http://www.cs.utexas.edu/~witchel/errorclasses.html

\caption{...} used outside table environment


Missing \begin{table}statement
Usage of \parbox in a \caption
2/5

11/13/2014

Latex Error Classes

has an extra }
! LaTeX Error:
Something's wrong-perhaps a missing \item

15

e_item

Missing \item within enumerate environment

16

e_fraction

17

e_verb

18

e_invalid

19

e_equation

! Display math should end


Usage of $$ inside equation mode
with $$

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

25

e_doc_class

26

e_circle

27

e_picture

28

e_line

29

e_line_arg

30

e_counter

31

e_outer

32

e_minipage

33

e_lost

34

e_lonely

35

e_parg

! Argument of \end has an


Misuse of fraction cmd e.g \frac{1,2}
extra }
! LaTeX Error: \verb
Newline after \verb, e.g. \verb*dir*
ended by end of line
! LaTeX Error: Command
\end{itemize} invalid in
Missing $ while using math mode in \itemize
math mode

! LaTeX Error: File


Use of unavailable package
`anysize1.sty' not found
! LaTeX Error: Can be
Usage of \documentclass outside preamble
used only in preamble.
! LaTeX Error: Command
\circle invalid in math
Usage of \circle in math mode
mode.
! Use of \pictur@ doesn't
match its definition.
! Use of \put dosen't
match its definition
! LaTeX Error: Bad \line
or \vector argument.
! LaTeX Error: No
counter '10' defined.
! LaTeX Error: Not in
outer par mode.
! LaTeX Error: Not in
outer par mode.
! LaTeX Error: Float(s)
lost.
! LaTeX Error: Lonely
\item--perhaps a missing
list environment.
! LaTeX Error: Missing parg in array arg.
! You can't use `macro

http://www.cs.utexas.edu/~witchel/errorclasses.html

Bad parameter to \picture


Badly formatted \line directive
Bad \line parameter
Counter undefined
Using figure inside parbox
Using figure minipage
Counter undefined
Usage of \item outside list environment
Missing p argument in tabular environment

3/5

11/13/2014

Latex Error Classes

36

e_hash

37

e_enlarge

38

e_deftab

39

e_pushtab

40

e_overtab

41

e_nest

42

e_eqnarray

43

e_classpkg

44

e_load

45

e_require

46

e_twoclass

parameter character #' in


vertical mode.
! LaTeX Error: Suggested
extra height (14454.0pt)
dangerously large.
! LaTeX Error: Undefined
tab position.
! LaTeX Error: \pushtabs
and \poptabs don't match.
! LaTeX Error: Tab
overflow.
! LaTeX Error: Too
deeply nested.
! LaTeX Error: Too many
columns in eqnarray
environment.
! LaTeX Error:
\usepackage before
\documentclass.
! LaTeX Error: Two
\LoadClass commands.
! LaTeX Error:
\RequirePackage or
\LoadClass in Options
Section.
! LaTeX Error: Two
\documentclass or
\documentstyle
commands.

Usage of # in normal mode

Too big a number given in \enlargethispage


Undefined tabbing
Unequal numbers of push and pop tabs
Too many \= in tabbing environment
Too many list environments
More than three columns in eqnarray
Usage of usepackage before loading
documentclass
More than one load class command
RequirePackage may not be used with
\DeclareOption

More than one documentclass declaration

47

e_font

! LaTeX Error: This


NFSS system isn't set up
properly.

48

e_superscript

! Double superscript.

49

e_clash_opt

! LaTeX Error: Option


Clashing options for the same package
clash for package csvtools.

50

e_unknown_opt

! LaTeX Error: Unknown


Unkown option for a package
option ... for package ...

51

e_hyphenation

! Improper \hyphenation
will be flushed.

52

e_stack_size

! TeX capacity exceeded,


Overflow of buffer due to mistake in command
sorry [main memory
definition
size=1000000]

53

e_environment

! LaTeX Error:
Undefined environment
Environment ... undefined.

54

e_midline

! LaTeX Error: \< in mid


line

http://www.cs.utexas.edu/~witchel/errorclasses.html

Invalid font used in \DeclareErrorFont


Usage of two superscripts for the same variable,
e.g. 2^3^4

Improper parameter to \hyphenation

Command \< may appear only at the beginning


of a line
4/5

11/13/2014

55

Latex Error Classes

e_infinite

Goes into infinite loop

http://www.cs.utexas.edu/~witchel/errorclasses.html

Usage of \\strut\hrule

5/5

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy