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 downloaded tikzscale.zip from CTAN. I extracted the following files from tikzscale.zip:


I put all the above files in the same file folder as my main tex file: main.tex. The minimal working environment of main.tex is as follows.


\usepackage{tikz, pgfplots}


\pgfplotsset{plot coordinates/math parser=false}




But I always got the following error message:

Latex Error: File `tikzscale.sty' not found.

I am really confused why this happens?

Does anybody know how to isntall this package properly?


share|improve this question
Thanks for your reply. What do you mean by " run latex on tikzscale.ins to get tikzscale.sty"? How to do this? – winner245 Aug 6 '13 at 0:13
pdflatex works. I can compile tikzscale.ins by pdflatex. Just one more question. How to install the package using package manager (since this is a better way)? – winner245 Aug 6 '13 at 8:25
Thank you for your kind and consistent help. I am using MikTex. The link you posted helps me a lot. My problem is completely solved! – winner245 Aug 6 '13 at 12:20

You have to compile the tikzscale.ins file by pdflatex. To do this, open the file in your tex editor and press the button it provides to compile. This compilation will produce tikzscale.sty file which you may put in the same directory as the main tex file. Or better put it in your localtexmf folder (refer this answer) to make it available globally.

But the better method is to use your package manager (as you use miktex). Refer to this answer for details.

share|improve this answer

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.