I was asked to use the following format for my report in Overleaf

Please use the following set-up within LaTeX:


You can download the style file here: https://info.maths.ed.ac.uk/assets/files/Projects/edmaths.sty

This is a .sty file,I am not sure how to implement it.

Thanks a lot!

Edit: Error looks like this

enter image description here

  • 5
    Upload it to overleaf in the same folder your main tex file is.
    – Johannes_B
    Feb 11, 2018 at 13:26
  • I've uploaded it, but there was an compile error
    – carrie
    Feb 11, 2018 at 13:47
  • 3
    I can only guess that the error is a file that ends without anything. You don't have a document environment.
    – Johannes_B
    Feb 11, 2018 at 13:53
  • 4
    As @Johannes_B says, your main.tex is incomplete: you need at least \begin{document}Hello World!\end{document} after those two lines. You may have to refer to your instructor's guidelines about how to use the package to write your report.
    – imnothere
    Feb 11, 2018 at 14:52


Browse other questions tagged or ask your own question.