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'm trying to do double-spacing using the setspace package, but I'm getting a setspace.sty not found error. My code looks like this:



Is this wrong? Is the setspace package out of date? Is it possible it is not installed on my system? I'm the Emacs LaTeX package (TeX Live I think it is called?)

share|improve this question
The setspace package is usually part of a standard distribution. What operating system are you using, and what TeX distribution? – Alan Munn Oct 3 '11 at 0:22
You can check which packages are installed on your system, or at least install new ones using tlmgr. It will also take care of setting the path for installed package - typical to a problem of your nature. – Werner Oct 3 '11 at 0:30
If you are on some Linux system you might need to install more than just the basic TeX package. For example on Debian/Ubuntu setspace is contained in texlive-latex-recommended. – Caramdir Oct 3 '11 at 0:32
up vote 4 down vote accepted

On my system (MacTeX 2011), the file setspace.sty is at /usr/local/texlive/2011/texmf-dist/tex/latex/setspace/setspace.sty. If the file setspace.sty is really missing from your TeX distribution, you can find a copy online at http://mirrors.ctan.org/macros/latex/contrib/setspace/setspace.sty. As others will no doubt also point out, it's usually best to run a package management program, such as tlmgr (TeXLive Manager), as doing so will automatically take care of updating all filename databases that TeX's programs rely on.

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.