# Why does tikz change the behavior of \vfil on my first page?

Note the way this renders when using pdftex.

\input eplain
\beginpackages
\usepackage{url}
\usepackage{color}
\endpackages

% comment in the following 4 lines
% \input tikz
% \definecolor{urlcolor}{rgb}{.2,.4,.6}
% \hlopts{colormodel=,color=urlcolor}

% ... and comment me out

\vbox to 0pt{}
\vfil

{\leftmargin=2in\rightmargin=2in
\definexref{anchor}{display}{type} Hi there. This refers to the
\ref{anchor}. This text should be in the center of the page. Right?}

\vfil\eject
\bye


The text is in the middle of the page between the top and bottom margins.

If you follow the instructions in the text and comment & uncomment the respective lines, the text will move to near the top of the page. Why is this and how can I fix it?

-
I can't reproduce the issue. Which version of tikz do you use? There have been problems in the past with plain and it should now be fixed in the cvs repository (and in tlcontrib). – cjorssen Feb 1 '12 at 8:36
@cjorssen, how can I tell the version? I installed the texlive version from MacPorts, my package manager. – EfForEffort Feb 1 '12 at 15:47
\show\pgfversion after \input tikz. – cjorssen Feb 1 '12 at 15:58
@cjorssen, I'm using tikz 2.10 (or pgf 2.10, I guess). – EfForEffort Feb 2 '12 at 3:43
So you should update to the current cvs version (sourceforge.net/scm/?type=cvs&group_id=142562). – cjorssen Feb 2 '12 at 12:40

The issue you're describing has been hopefully fixed in the development version of tikz/pgf. You can get it from the cvs repository or here if you want a TDS packaged version or, if you're a TeXlive user, from the tlcontrib texlive repository.