0

I'm about to be a first-year graduate student and was asked to write a first draft of a calculus one midterm.

I have always used TeXstudio for homework and research papers I have written and they only required the document class "article", but when I tried to write something in the document class "exam" I got the error "File `exam.cls' not found". I downloaded the exam.cls file, but I can't figure out how to install the file so that I can use the exam document class. I've read a few things online, but they didn't make much sense to me. Thank you for your help and patience.

  • Have you installed a TeX distribution? If no, I don't know why you can use article. If yes, you must be able to use exam. – user156344 Apr 13 at 18:23
  • I don't know what you mean, but I downloaded and installed TeXstudio, and I don't get any errors like "File `exam.cls' not found" when I use the document class article. For example, the compiler has no problems reading the line \documentclass{article}, but won't read anything after \documentclass{exam} – JonHales Apr 13 at 18:34
  • article and exam are all automatically installed when you install LaTeX. Therefore if you can't compile with exam, you can't compile with article either. – user156344 Apr 13 at 18:36
  • What other errors do you think might be preventing me from using this document class? '\documentclass{exam} \usepackage{amsfonts} \usepackage{amssymb}\usepackage[utf8]{inputenc} \begin{document} This is a test \end{document}' doesn't compile,while \documentclass{article} \usepackage{amsfonts} \usepackage{amssymb}\usepackage[utf8]{inputenc} \begin{document} This is a test \end{document} compiles perfectly – JonHales Apr 13 at 18:43
  • We need to read the log file, or at least the error messages. How did you install MikTeX (or TeXlive)? – Sigur Apr 13 at 18:49

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.