TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

Note the way this renders when using pdftex.

\input eplain

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

% ... and comment me out

\vbox to 0pt{}

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


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?

share|improve this question
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
up vote 2 down vote accepted

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.

share|improve this answer
This isn't really what I wanted to hear, but it's the right answer. Thanks. – EfForEffort Mar 10 '12 at 4:06

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.