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 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.

share|improve this question

closed as off-topic by karlkoeller, lockstep, Andrew Swann, Peter Jansson, Martin Schröder Jan 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

Browse other questions tagged or ask your own question.