Hello, this is the second post about Errors, in this time we are going to talk about Errors in the Document
I am going to write the error in
this format
, the description of the error in this format and the possible solution in normal format
General Errors in the Document
-
Improper prevdepth
You forgot to close the environment with\end{myEnvironment}
Find what is the environment which is causing troubles and then close it -
LaTeX Error: \begin{Environment} on input line *** ended by \end{OtherEnvironment}
You misspelled the name of the environment when closing it Check if the name of the environment is the same and correct it -No error message, just paused
You have forgotten to put\end{document}
Put that instruction and everything is going to be ready :) -
LaTeX Error: Missing \begin{document}
- Some contents which must be inside the
\begin{document}
are outside this - You have forgotten the
\begin{document}
environment
- Some contents which must be inside the
Check that environment and the instructions that you have put and write them inside \begin{document}
-
Missing endcsname inserted
You put a\
in the name of an environment, for example,\begin{\document}
Check the name of the environments and delete the\
-
LaTeX Error: verb illegal in command argument
You have written theverb
(verbatim) command inside another command- If you want the style of verbatim in your text you can try
{\tt your Text}
- Put the
verb
command outside that environment
- If you want the style of verbatim in your text you can try
-
LaTeX Error: Not in outer par mode
You nested some environments which can not be nested There is not a simple solution for this, because, sometimes you want to do something specific but LaTeX does not support that.- Try to put the environment outside the other environment
- Search for some environments which can do that you want
This is all for today, thanks :)
Top comments (0)