# Is there a problem with using package \titlesec and \setspace together? [closed]

I am using package setspace for setting the spacing and trying to use package titlesec to change the spacing before and after section/subsection titles. I am getting following error:

File titlesec.sty' not found.

I am using Texmaker.

Request any possible help in resolving this issue.

-

## closed as off-topic by karlkoeller, lockstep, Andrew Swann, Peter Jansson, Martin SchröderJan 16 '14 at 12:35

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.SX! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. From the error message you give, it sounds like titlesec` is not on your system. Can you check that. –  Andrew Swann Jan 16 '14 at 7:54
I use both, and never had any problem. Are you sure titlesec is installed and known to your tex system? It may happen you have to run exhash (TeXLive) or refresh the FNDB (MiKTeX) if you made a manual installation. –  Bernard Jan 16 '14 at 9:13
Thaks Andrew and Bernard. I checked. Package titlesec was not installed on my system. I downloaded it and installed it in Miktex\source where all other package files are also installed and I also updated FNDB but it is still giving me the same error. –  Neha Jan 16 '14 at 9:21
Hi! I installed the package through Miktex admin and now it is working. Thanks a lot. –  Neha Jan 16 '14 at 9:49
This question appears to be off-topic because it is about a missing package in the OP's system. –  karlkoeller Jan 16 '14 at 11:59