The above error is followed by the error mentioned below. I am getting this error while trying to compile the master's thesis present here.Link to Masters Thesis template I have installed MikTex.

LaTeX Error: File `longtable.sty' not found.
  • 1
    if longtable sty is not found something is seriously broken with your tex system. But you are giving no details how you installed tex so it is quite difficult to help you. Are you using miktex or texlive? Jun 21, 2021 at 9:53
  • @UlrikeFischer I have Miktex. Should I uninstall Texworks and MiKTeX and try again? Jun 21, 2021 at 10:03
  • Sorry I can't say what you should do as I have no idea what it is wrong. But I would at first open the miktex console and check for updates (in admin and user mode), and try to install some packages. Jun 21, 2021 at 10:06
  • have you not updated for some years? the tools bundle at texlive and ctan is called latex-tools now not tools I assume miktex is the same (@UlrikeFischer might confirm) Jun 21, 2021 at 10:20
  • probably a duplicate of tex.stackexchange.com/questions/578771/… Jun 21, 2021 at 13:17

1 Answer 1


So it turns out that longtable has been put into a more global toolbox called latex-tools. Maybe you should try to just erase \usepackage{longtable} and compile your script again.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .