# [Tex/LaTex] setspace.sty not found

installingsetspace

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:

\documentclass{article}
\usepackage{setspace}

\begin{document}
\doublespacing
body
\end{document}


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?)

#### Best Answer

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.