[Tex/LaTex] No room for a new \dimen when including TikZ

tikz-pgf

Possible Duplicate:
No room for a new \dimen

I have a fairly large document which uses 30 or so packages. I was going to add some TikZ graphics, so I added the following to my header file:

\usepackage{tikz,pgfplots}

However, this gave me a lot of errors of the type

! No room for a new \dimen .

After looking around, this seems to be related to a limitation of TeX. Is it not possible to use TikZ with many other packages? I am using MikTeX 2.9 and pdflatex.

Best Answer

Write

\usepackage{etex}

just after the \documentclass line (it should be the first loaded package).

Related Question