TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've just started using LaTeX for an assignment and got this error:

File 'assignment_1.cls' not found. ^^M

What can I do about this?

share|improve this question
You probably start your assignment with \documentclass{assignment_1}, which searches for assignment_1.cls - a document class file - that does not exist. Using \documentclass{article} would work and only saving your source code file as (say) assignment_1.tex. Give some feedback after the above suggestion. – Werner Apr 1 '12 at 23:47
@Werner: Thank you, that did the trick! But another problem came up: The built pdf file has only English symbols and characters, where as my assignment will contain Greek characters as well (greek text). What can I do about that? – Chris Apr 1 '12 at 23:53
I'll convert my comment into an answer, since that's the format of this Q&A. You subsequent comment would be a new question altogether. Follow-up questions like this are more than welcome! Please use the "Ask Question" link for your new question where you can link to this question to provide the background. Be sure to include a minimal working example (MWE). – Werner Apr 1 '12 at 23:59
Ok, thank you Werner! – Chris Apr 11 '12 at 0:09
up vote 2 down vote accepted

Using \documentclass{myclass} requires a file myclass.cls to exist on your system. Since assignment_1 is a non-standard document class, \documentclass{assignment_1} causes an

File 'assignment_1.cls' not found.

error. Rather use one of the standard document classes (like article - preferred in your case, book or report).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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