enter image description here Sorry about the awful formatting, this is a screenshot from my mobile. I am an absolute beginner when it comes to Latex and I just can't understand why it keeps giving me such an error when I clearly included " /begin{document} " Could you help me fix this. Thanks a bunch

  • 4
    If possible, could you please paste in the actual code, rather than a screenshot, to allow others to test the code themselves. Also, please trim out as much extraneous code as possible while still retaining the error. – owjburnham Mar 23 at 0:39
  • 4
    \thanks{...} should be inside the argument to \author not after it, – David Carlisle Mar 23 at 0:54
  • You should add \usepackage[italian]{babel} to get proper hyphenation in the output pdf. – Johannes_B Mar 23 at 7:46

\thanks{...} should be inside the argument to \author not after it,

Please always provide a test file, like





Note that the error message is not just "missing document" it highlights the line with the error, and shows (by the point of the linebreak) that the error is reported just after reading \thanks{..}

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.

l.4 \author{You}\thanks{me}


Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.