0

This question already has an answer here:

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

marked as duplicate by samcarter, Phelype Oleinik, dexteritas, Stefan Pinnow, Circumscribe Jan 8 at 11:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    in the recent miktex the tikz is broaken. we should wait for new miktex version ... – Zarko Jan 8 at 0:04
  • 2
    @Zarko Did you read the question? – marmot Jan 8 at 0:17
  • @marmoth, did i miss read it? if i did, than i apologies to all for any inconvenience (i'm still under impression that tikz doesn't work in recent miktex). – Zarko Jan 8 at 0:23
  • 1
    I voted to mark this as duplicate of the other question because I think from the fact that this question is about miktex makes it very likely that also windows is involved in which case the capitalization would not be a problem. – samcarter Jan 8 at 9:47
4

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.

  • 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 8 at 7:35

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