If you run pdflatex on the following minimal example: \documentclass{article} \usepackage{atbegshi} \usepackage{tikz} \AtBeginShipout{% \AtBeginShipoutUpperLeft{% \put(0,0){% \tikz[remember picture, overlay]\shade[top color=blue!15, bottom color=blue!80] (current page.north east) rectangle +(-5,-28); }}} \begin{document} This is a test \newpage This is a test \newpage This is a test \newpage This is a test \end{document}
You see that shaded rectangle on every single page of the document. However, if you run xelatex, that rectangle does not appear on the first and second pages. What is wrong? Your sincerely, Vafa -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex