TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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 tried to the following code to get the version information about TikZ using \listfiles command. However, there is an error says File amsmath.sty not Found, may someone help me?

share|improve this question
The mathtools package loads amsmath by default. Do you use MikTeX? A MiKTeX update removed amsmath as obsolete – can I use another package or get it back? – Qrrbrbirlbel Feb 12 '13 at 19:27
I fail to see the relevance to TikZ in this question? (especially the tag tikz-trees?). If you want information about the tikzversion, use \pgfversion. Even though the package dateiliste refers TikZ your question is about TikZ, not dateiliste. – zeroth Feb 12 '13 at 19:32
@Qrrbrbirlbel yes – sweetyBaby Feb 12 '13 at 19:33
@sweetyBaby Besides the amsmath part, you actually need to load TikZ in order to check its version (regardless of the method). – Qrrbrbirlbel Feb 12 '13 at 20:02

Qrrbrbbirlbel (phew) answered the amsmath update problem. You can read more from Heiko Oberdiek's answer in A MiKTeX update removed amsmath as obsolete – can I use another package or get it back?

You can also check your PGF/TikZ version via two options

  1. Putting \listfiles command in your preamble and reading your log file
  2. Or putting \pgfversion command somewhere in the document to be printed.

Here is two examples combined




It gives

enter image description here

in the resulting PDF file and also in the log file

enter image description here

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.