Tikzpicture on every page

How to include tikzpicture on each page?

I would like to create a complex document template (the page should be framed and have a table for storing information about the document in both the header and footer).

I was thinking of using something like:

\begin{tikzpicture}[remember picture,overlay]  
    % complicated layout should be here, simple example is given below:  
    % \node [xshift=1cm,yshift=1cm] at (current page.south west)  
    % {This is an absolutely positioned text in the page};  
\end{tikzpicture}

Do you have any other suggestions for creating such a template?

+4
source share
1 answer

Add information to the header / footer using either the KOMA script fancyhdr

To add something on each page, I used this:

\usepackage{eso-pic}
\makeatletter
\AddToShipoutPicture{%
    \setlength{\@tempdimb}{.1\paperwidth}%
    \setlength{\@tempdimc}{.04\paperheight}%
    \setlength{\unitlength}{1pt}%
    \put(\strip@pt\@tempdimb,\strip@pt\@tempdimc){%
        \makebox(0,0){ \textcolor{gray}{Rev: \svnrev{} (\svnfilerev)} }%
    }%
}
\makeatother

SVN . , tikzpicture [, ] \AddToShipoutPicture, , , .

, .

+3

Source: https://habr.com/ru/post/1773062/


All Articles