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

Where is the TexLive 2010 default package directory located in Windows 7 64-bit?

I'm led to believe it should be in C:\texlive\2010\texmf\tex\latex but that appears not to be the case and I cannot find the place where .sty files are held.

share|improve this question
up vote 4 down vote accepted

The LaTeX style files for TeXLive on Windows are found in


where XXXX is the year.

share|improve this answer
Incidentally, why can't I find the package chemfig in that directory when my TL manager lists it as being installed? – ptrcao Jul 2 '11 at 5:53
@ptrcao: Type kpsewhich chemfig.sty at the Command Prompt, and TeX Live will tell you where the file is located. (This of course is a general command: kpsewhich <filename>.) – Joseph Wright Jul 2 '11 at 6:13
@Joseph Wright: Top suggestion Joe. Apparently it's in c:/texlive/2010/texmf-dist/tex/generic/chemfig/chemfig.sty What is it doing in this folder? Why does it appear to be treated differently from the rest of the package .stys? – ptrcao Jul 2 '11 at 6:17
@ptrcao: Some code (Ti_k_z, for example) is designed to work with plain TeX, LaTeX and ConTeXt. The main body is therefore usually in generic rather than latex. In some cases, the code gets split up into the LaTeX-specific part and the generic part, but in others (as here) it does not. [P.S. It's 'Joseph', not 'Joe' :-)] – Joseph Wright Jul 2 '11 at 6:20
I see, that makes sense. [P.S. Sorry, I'm almost accustomed to "Joe" because every Joseph I've ever known has preferred "Joe", but "Joseph" it is in your case. :)] – ptrcao Jul 2 '11 at 6:26

On my Windows 7 64-bit computer running TeXLive 2013, the way to get my style (*.sty) files working "natively" is the following

1) put the *.sty file in C:\texlive\2013\texmf-dist\tex\latex

2) open the TeX Live command line

3) run the command mktexlsr

... as of February 10, 2014

share|improve this answer
The default location for private/third party sty files is $TEXMF/../texmf-local/tex/latex which translates into C:\texlive\texmf-local\tex\latex in your specific case. – AlexG Feb 10 '14 at 21:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.