TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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 writing a thesis and I want the chapter and its heading right aligned. On searching in TEX I got an answer to download the titlesec package.

I downloaded it but I don't know where to insert the package.

share|improve this question

closed as not a real question by Stefan Kottwitz May 25 '12 at 9:26

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Do you need help to install the package or to load it? Packages are loaded using \usepackage[<optional options>]{<package name>}, i.e. in your case use \usepackage{titlesec} in the preamble. – Martin Scharrer May 21 '12 at 8:25
wen i use \usepackage{titlesec} a dialogue box appears asking for the path where the package is.When i selected random package repository, it says titlesec.sty not found. – Vidhya May 21 '12 at 9:39
I downloaded the package and saved it in my downloads. Then copied the folder titlesec to the folder where miktex 2.8 is installed in C drive. I need to know where I should copy the folder titlesec so that while compiling its used by the program – Vidhya May 21 '12 at 9:41
You can install packages using the MikTeX package manager. It even can install missing packages on the fly. Try to compile a document with \usepackage{titlesec} and see if there is an error. – Martin Scharrer May 21 '12 at 9:57
Please see the official website of MiKTeX for this: docs.miktex.org/manual/pkgmgt.html. A manual install is also described in How can I manually install a package on MiKTeX (Windows) . – Martin Scharrer May 21 '12 at 11:52