30

I'm not sure how to find which version of pgf with MikTeX installed on my computer (Windows 7 - 64 bit).

Martin Scharrer
  • 262,582
kristi
  • 1,337
  • 13
  • 15

3 Answers3

32

Thanks to Yiannis Lazarides:

\documentclass{minimal}
\usepackage{pgf}
\begin{document}

My pgf version is: \pgfversion

\end{document}
kristi
  • 1,337
  • 13
  • 15
12

If you put \listfiles a the beginning of your document, the list of loaded packages will appear in the log (and probably in your console display.)

The current version of tikz/pgf is:

 tikz.sty    2010/10/13 v2.10 (rcs-revision 1.76)
 pgf.sty    2008/01/15 v2.10 (rcs-revision 1.12)

(TeXLive 2010)

If your MikTeX is recently updated, it is probably the same. If you have upated your MikTeX, and the version numbers don't match, then you may have a version of pgf in your local texmf folder. You can tell this by looking in the log file. As each package is loaded the log will reflect the full path to the file.

e.g.

(/usr/local/texlive/2010/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty

(These are the paths for TeXLive; MikTeX will be different, but there should be consistency between these paths and e.g. the path of article.cls).

Alan Munn
  • 218,180
2

MiKTeX has a package manager, you could go to Start->Program->MiKTeX->Maintenance(Admin)->Package Manager, enter the name of the package in the search bar to retrieve the information of it.

Shuhao Cao
  • 3,131
  • 3
  • 29
  • 33