Style sheets in TeXworks / MikTeX

For incorporating new .sty style sheet files using TeXworks / MikTeX on windows do the following:

  • Create a folder (e.g. C:/Local Tex Files/tex/latex/misc) and put the new style sheet file (e.g. “myfile.sty) in there
  • Go to MikTeX settings and in the tab “Roots”. Click “Add” and select the folder you created before
  • To use the new style sheet in your document: Add “\usepackage{myfile}” to the document preamble
Advertisements