Possible Duplicate:
How can I avoid compiling twice?
I am shading first page using following code.
\begin{tikzpicture}[remember picture,overlay]
\shade[left color=white,right color=orange!60]
(current page.south) rectangle (current page.north east);
\end{tikzpicture}
But I found sometime shading is there on whole page and sometime it is partial (just one strip). I don't know what is reason behind it.How can I fix my problem?
remember picture,overlay. The partial result arrives only on the first complation. – Alain Matthes Jul 03 '12 at 07:33remember picture,overlay. – Alain Matthes Jul 03 '12 at 07:38latexmkso you don't have to think about it. – Peter Grill Jul 03 '12 at 07:42current pageis inside a virtual remembered picture, the size of the node is the size of the current page and the position of this node is an absolute position on the page. The exact informations are known only on the second run. – Alain Matthes Jul 03 '12 at 07:55latexmk -pdf Report.tex. – Paul Gaborit Jul 03 '12 at 17:12