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.

  • 1
    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. May 21, 2012 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, 2012 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, 2012 at 9:41
  • 1
    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. May 21, 2012 at 9:57
  • 1
    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) . May 21, 2012 at 11:52


Browse other questions tagged .