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 am totally new to latex. I have downloaded Miktex (for Windows) and installed it to the root directory of my local hard drive.

I have a predefined latex template. When I try to compile this template (no matter using the command line or TexStudio, I get the following error:

Line 8: File 'default.sty' not found. \usepackage

The content of this line in the .tex file is \usepackage[english]{babel}

Asking Google for answers was not helpful. Any suggestions how to solve this problem?

share|improve this question
You probably have a \usepackage{default} that points to a non existent package. – egreg Dec 1 '13 at 0:10
Thank you I had never thought that the solution was that easy. Sometimes we are just blind for the simple things. You can make an answer from this. – Blackbam Dec 1 '13 at 0:26
up vote 2 down vote accepted

I've never heard about a default.sty file. It's a risk one incurs in when using templates found somewhere, which are customized in various ways and maybe refer to personal style files that are not available to the general public.

Judging from the error message, you have a line


that you should remove.

share|improve this answer

There is a wrong beamer template in the current (and older versions) of Kile. It should indeed be \usetheme{default}. Maybe there is a similar error in other LaTeX GUIs.

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.