LATEX错误编译.docx

上传人:b****6 文档编号:4509563 上传时间:2022-12-01 格式:DOCX 页数:8 大小:18.09KB
下载 相关 举报
LATEX错误编译.docx_第1页
第1页 / 共8页
LATEX错误编译.docx_第2页
第2页 / 共8页
LATEX错误编译.docx_第3页
第3页 / 共8页
LATEX错误编译.docx_第4页
第4页 / 共8页
LATEX错误编译.docx_第5页
第5页 / 共8页
点击查看更多>>
下载资源
资源描述

LATEX错误编译.docx

《LATEX错误编译.docx》由会员分享,可在线阅读,更多相关《LATEX错误编译.docx(8页珍藏版)》请在冰豆网上搜索。

LATEX错误编译.docx

LATEX错误编译

LATEX技巧04:

 Latex Error Classes,查询编译错误的原因!

 (2010-10-1209:

54:

47)

转载▼

标签:

 

latex技巧

 

教育

分类:

 latex技巧

转自:

http:

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

LatexErrorClasses

AmbiguousErrors

Thisisalistoferrorclasseswithambiguoserrormessages.Hereeithertheerrorsarehavedifferentcausesandthemessageoutputissameorelsetheerrorshavethesamerootcausebutthemessagesaredifferent.

S.No

Class

ErrorMessage

CauseofError

1

e_des

!

LaTeXError:

There'snolineheretoend

Usageof\\attheendofalonglabelin'description'environment

2

e_center

!

LaTeXError:

There'snolineheretoend

Usageof\\aftertheheadinglinein'center'environment

3

e_foot

 !

Argumentof\@secthasanextra}

Usageofafragilecommand'footnote'within\section

4

e_ragged

 !

Argumentof\@captionhasanextra}

Usageof\\within\raggedrightor\raggedleftenvironment

5

e_and

 !

Extraalignmenttabhasbeenchangedto\cr

Toomany&sinarowofatableorarrayoreqnarray.

6

e_cline

 !

Extraalignmenttabhasbeenchangedto\cr

Referencenononexistingcolumnin\cline

7

e_col

 !

Extraalignmenttabhasbeenchangedto\cr.

Usage@intabular*environment

8

e_num

 !

Missingnumbertreatedaszero

Usageofnonnumericparameterafter\\

9

e_asterisk

Missing*attheendoftheline

*isnotprintedwhenusedwithoutbraceafter\\

10

e_pbox_miss

 !

Missingnumber,treatedaszero.

\parbox[t]{}..Missingargumenttoparbox

11

e_mis_circle

 !

Missingnumber,treatedaszero.

Missingnumericparameterto\circle

12

e_list

 !

Argumentof\lst@nexthasanextra}

Usageof1stlistinginsidefragilecommand\parbox

13

e_capacity

 !

TeXcapacityexceeded,sorry[inputstacksize=1500]

Usageof1stlistinginsidefragilecommand\parbox

14

e_runaway

Runawayargument?

Generallybecauseofmissingbraces,e.g\cline{1-2insteadof\cline{1-2}

15

e_verbatim

Runawayargument?

Usageofverbatimwithinscopeofanothercommande.g:

\ifthenelse

16

e_undefined

!

Undefinedcontrolsequence

Usageofanunknowncommand

17

e_footnote

!

Undefinedcontrolsequence

Usageof\footnotewithin\footnote

18

e_integral

 !

Missing{inserted.

Integralboundsaremalformed

19

e_zeta

 !

Missing{inserted.

Extrasubscriptbeforeintegralupperlimitterm

20

e_bezier

 !

Illegalunitofmeasure(ptinserted).

Missingnumericargumentto\qbezier

21

e_too_bezier

 !

Illegalunitofmeasure(ptinserted).

Toomanyargumentsto\qbezier

22

e_unit

 !

Illegalunitofmeasure(ptinserted)

\parbox[t]{2}..Illegalunitofsecondparameter

23

e_symfoot

 !

LaTeXError:

Countertoolarge.

Morethan9footnoteswhenusingsymbolicfootnotes

24

e_large_count

 !

LaTeXError:

Countertoolarge.

Tryingtodisplayacorrespondingletterforacountervallue>26

25

e_begin

!

LaTeXError:

Missing\begin{document}

Eithertexthasbeenplacedbefore\begin{document}or\begin{document}ismissing

26

e_margin

 !

LaTeXError:

Missing\begin{document}.

Misuseof\marginsize

CommonErrors

S.No

Class

ErrorMessage

CauseofError

1

e_fileEnd

!

Fileendedwhilescanninguseof\end.

Generallycausedbecauseofmissingabrace

2

e_end

Nomessageonlyanasterisk,i.e*

Missing\end{document}

3

e_illegal

LaTeXError:

Illegalcharacterinarrayarg

Usageofaletterotherthanr,landcintabularenvironment

4

e_tab

!

Misplacedalignmenttabcharacter&

Missing\begin{tabular}whileusingtabularenvironment

5

e_backslash

!

Missing\endcsnameinserted

Usageofabackslashinfrontofthenameofanenvironment,e.g\begin{\itemize}

6

e_delimiter

!

LaTeXError:

Badmathenvironmentdelimiter

Missing\rightimmediatelyafterthearrayenvironment

7

e_right

!

Extra\right

\righthasnomatching\leftOR\end{array}ismissing

8

e_package

!

LaTeXError:

Canonlybeusedinpreamble

Usageof\usepackageoutsidethepreamble

9

e_math

!

Missing$inserted

Missingastartingorending$inMathmode,e.gm_einsteadof$m_e$

10

e_parameter

!

Illegalparameternumberindefinitionof...

Usageofparameternumbergreaterthanthenumberofparametersdefinedin\newcommand,e.g\newcommand{\test}[1]{#3}

11

e_cmd

!

LaTeXError:

Command...alreadydefined

Tryingtodefinealreadyexistingcommand,e.g\newcommand{\time}

12

e_caption

 !

LaTeXError:

\captionoutsidefloat

\caption{...}usedoutsidetableenvironment

13

e_braces

 !

Toomany}'s

Missing\begin{table}statement

14

e_parbox

 !

Argumentof\@captionhasanextra}

Usageof\parboxina\caption

15

e_item

 !

LaTeXError:

Something'swrong--perhapsamissing\item

Missing\itemwithinenumerateenvironment

16

e_fraction

 !

Argumentof\endhasanextra}

Misuseoffractioncmde.g\frac{1,2}

17

e_verb

 !

LaTeXError:

\verbendedbyendofline

Newlineafter\verb,e.g.\verb*dir*

18

e_invalid

 !

LaTeXError:

Command\end{itemize}invalidinmathmode

Missing$whileusingmathmodein\itemize

19

e_equation

 !

Displaymathshouldendwith$$

Usageof$$insideequationmode

20

e_column

 !

Misplaced\omit

Usageof\newcommandand\multicolumnwithintabularenvironment

21

e_subscript

 !

Doublesubscript.

Usageofdoublesubscript

22

e_cls

 !

LaTeXError:

File`artcle.cls'notfound.

Missing.styor.clsfile

23

e_nofile

 !

LaTeXError:

File`file1.tex'notfound.

Missingfile1.tex,e.g.\input{file1.tex}

24

e_sty

 !

LaTeXError:

File`anysize1.sty'notfound

Useofunavailablepackage

25

e_doc_class

 !

LaTeXError:

Canbeusedonlyinpreamble.

Usageof\documentclassoutsidepreamble

26

e_circle

 !

LaTeXError:

Command\circleinvalidinmathmode.

Usageof\circleinmathmode

27

e_picture

 !

Useof\pictur@doesn'tmatchitsdefinition.

Badparameterto\picture

28

e_line

 !

Useof\putdosen'tmatchitsdefinition

Badlyformatted\linedirective

29

e_line_arg

 !

LaTeXError:

Bad\lineor\vectorargument.

Bad\lineparameter

30

e_counter

 !

LaTeXError:

Nocounter'10'defined.

Counterundefined

31

e_outer

 !

LaTeXError:

Notinouterparmode.

Usingfigureinsideparbox

32

e_minipage

 !

LaTeXError:

Notinouterparmode.

Usingfigureminipage

33

e_lost

 !

LaTeXError:

Float(s)lost.

Counterundefined

34

e_lonely

 !

LaTeXError:

Lonely\item--perhapsamissinglistenvironment.

Usageof\itemoutsidelistenvironment

35

e_parg

 !

LaTeXError:

Missingp-arginarrayarg.

Missingpargumentintabularenvironment

36

e_hash

 !

Youcan'tuse`macroparametercharacter#'inverticalmode.

Usageof#innormalmode

37

e_enlarge

 !

LaTeXError:

Suggestedextraheight(14454.0pt)dangerouslylarge.

Toobiganumbergivenin\enlargethispage

38

e_deftab

 !

LaTeXError:

Undefinedtabposition.

Undefinedtabbing

39

e_pushtab

 !

LaTeXError:

\pushtabsand\poptabsdon'tmatch.

Unequalnumbersofpushandpoptabs

40

e_overtab

 !

LaTeXError:

Taboverflow.

Toomany\=intabbingenvironment

41

e_nest

 !

LaTeXError:

Toodeeplynested.

Toomanylistenvironments

42

e_eqnarray

 !

LaTeXError:

Toomanycolumnsineqnarrayenvironment.

Morethanthreecolumnsineqnarray

43

e_classpkg

 !

LaTeXError:

\usepackagebefore\documentclass.

Usageofusepackagebeforeloadingdocumentclass

44

e_load

 !

LaTeXError:

Two\LoadClasscommands.

Morethanoneloadclasscommand

45

e_require

 !

LaTeXError:

\RequirePackageor\LoadClassinOptionsSection.

RequirePackagemaynotbeusedwith\DeclareOption

46

e_twoclass

 !

LaTeXError:

Two\documentclassor\documentstylecommands.

Morethanonedocumentclassdeclaration

47

e_font

 !

LaTeXError:

ThisNFSSsystemisn'tsetupproperly.

Invalidfontusedin\DeclareErrorFont

48

e_superscript

 !

Doublesuperscript.

Usageoftwosuperscriptsforthesamevariable,e.g.2^3^4

49

e_clash_opt

 !

LaTeXError:

Optionclashforpackagecsvtools.

Clashingoptionsforthesamepackage

50

e_unknown_opt

 !

LaTeXError:

Unknownoption...forpackage...

Unkownoptionforapackage

51

e_hyphenation

 !

Improper\hyphenationwillbeflushed.

Improperparameterto\hyphenation

52

e_stack_size

 !

TeXcapacityexceeded,sorry[mainmemorysize=1000000]

Overflowofbufferduetomistakeincommanddefinition

53

e_environment

 !

LaTeXError:

Environment...undefined.

Undefinedenvironment

54

e_midline

 !

LaTeXError:

\

Command\

55

e_infinite

Goesintoinfiniteloop

Usageof\\strut\hrule

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 经管营销 > 销售营销

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1