0

Im trying to use the package TikZ by inserting \usepackage{TikZ} into my preamble on TexStudio however it keeps coming up with the error that TikZ.sty is not found. I have MiKTeX and have checked the console to see that it is allowing for missing packages although i am not sure what link should be in the gap for where the packages are downloaded?

Does anyone know why my TikZ package would not be working?

Thanks

Alan Munn
  • 218,180

1 Answers1

3

TeX is case sensitive. The package name is tikz when called not TikZ. So you should use

\usepackage{tikz}

If you are doing this (and not using \usepackage{TikZ} as you wrote in your question) then the problem is a transient problem with MikTeX which should be fixed in a day or so as noted in the comments.

This issue has nothing to do with your editor.

Alan Munn
  • 218,180
  • 3
    On Windows the file system is not case sensitive, so tikz.sty and TikZ.sty are the same. Hence kpathsea will find tikz.sty even if one types TikZ. One does get a warning LaTeX Warning: You have requested package `TikZ', but the package provides `tikz'. though, because as you say TeX is case sensitive. – moewe Jan 08 '19 at 07:35