- #1
tgt
- 522
- 2
Do you do it? I tend to not do it as long as it looks fine.
cristo said:What sort of errors do you mean? Errors in latex tend to make it not compile!
tgt said:I've got 12 errors currently and I'm still able to edit and view it in PDF.
First thing to note here is that LaTeX has two types of "bad messages": Errors and Warnings (you may know this).tgt said:I've got 12 errors currently and I'm still able to edit and view it in PDF.
At line 84 of your file, you must be starting a new subsection with a "\begin{subsection}{Subsection heading goes here}" command before (or probably without) ending the previous subsection with an "\end{subsection}" command. Even better, you could replace all of your "\begin{subsection}{Subsection heading goes here}" commands with "\subsection{Subsection heading goes here}" commands.tgt said:It's got i.e '1.84 \end{subsection}' What does 1.84 mean? I do have trouble locating the error. How do I end a subsection?
las3rjock said:At line 84 of your file, you must be starting a new subsection with a "\begin{subsection}{Subsection heading goes here}" command before (or probably without) ending the previous subsection with an "\end{subsection}" command. Even better, you could replace all of your "\begin{subsection}{Subsection heading goes here}" commands with "\subsection{Subsection heading goes here}" commands.
tgt said:How would I end a subsection?
'\end{name of subsection}'?
You want to correct your minor bad habits now so that it will be easier to debug more serious errors in the future.tgt said:The thing is if it compiles and viewing with PDF is possible with the desired output, why correct the errors?
Some common Latex errors include missing packages, syntax errors, undefined commands, and missing or incorrect arguments.
To fix missing packages, you can use the \usepackage{package name} command in the preamble of your document. Make sure to include all necessary packages for your desired features.
If you encounter a syntax error, carefully check your code for any missing or incorrect symbols, commands, or brackets. You can also use online resources or a Latex editor's built-in error checker to help identify the issue.
If you encounter an undefined command, make sure to check for any typos or missing packages. You can also use the \newcommand{}{} command to define your own custom commands.
To achieve a polished document in Latex, make sure to proofread for any spelling or grammar errors, use consistent formatting, and include all necessary packages. You can also use a Latex editor's built-in features like spell check and formatting tools to help improve the overall look of your document.