As I was going through the table of contents, I faced the problem of typing a formula correctly, then after eventually deleting it because it caused many kinds of errors, LaTeX cannot compile anymore because of the error in the title.

I obviously did research on the Internet yet I couldn't find an appropriate answer to my problem. For example, I do not know how to delete auxiliary files, which could be the cause. So, please help me!

And maybe you could give me an hint on how to type correctly the formula:


I did try:

$r(x)=lim\mid\mid x^{n}\mid\mid^{\frac{1}{n}}$}

  • .aux files are just text files that you can delete using standard operating system commands (rm in unix-like sysdtem or del on the windows command line, or selct them in a filemanager and hit delete. – David Carlisle May 14 at 21:57
  • I am running on macOS, where can I find these files. Thank you for the fast answer. – Pierre Fehlen May 14 at 22:03
  • by default in the same directory of your document. If you have myfile.tex then latex makes myfile.aux and (sometimes) you need to delete it after an error. – David Carlisle May 14 at 22:04
  • Thank you I did find it and deleted it. Now when I compile, It comes up with with an extremely long error that doesn't make sense to me. I cannot even describe it. It is full of \usr\local\texlive lines followed by some overfull errors and then a very long error over many lines finishing with `Transcript written on Mathématiques.log.`` – Pierre Fehlen May 14 at 22:16
  • 3
    no impossible to debug unless you show an example, the math markup looks weird and is probably wrong (\mid is an infix | for things like set construction: { a \in Z | a < 5} or whatever, you possibly wanted \lVert x ^n\rVert to make some kind of norm, but the version you had would not make an error and would have no effect on the aux file at all, you presumably have something in a section heading that is making an error. – David Carlisle May 14 at 22:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.