30

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

3
  • 5
    Just use \pgfversion in a minimal and you will see it.
    – yannisl
    Commented Apr 9, 2011 at 19:26
  • 2
    I think this is a duplicate of the general question Which package version am I using?. If this doesn't help you, please update your question and mentioned why. It it's solving your problem we will close this as a duplicate to keep the site tidy. Commented Apr 9, 2011 at 19:32
  • @Yiannis Lazarides Thanks, \pgfversion works, and is much simpler than reading the log.
    – kristi
    Commented Apr 9, 2011 at 20:06

3 Answers 3

32

Thanks to Yiannis Lazarides:

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

My pgf version is: \pgfversion

\end{document}
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).

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.

1
  • The package manager doesn't list version numbers
    – kristi
    Commented Apr 9, 2011 at 19:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .