summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/eso-pic/eso-ex6.tex
blob: 991454014c3552361236d74b657d5ebf0016dd41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

\listfiles
\documentclass{article}
\usepackage{eso-pic,xcolor,pict2e,picture}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{blindtext}

\newcommand*\Bild{}

\AddToShipoutPictureBG{
  \AtTextCenter{
    \put(10mm,10mm){%
      \textcolor{blue!30}{\circle*{.5\textwidth}}}%
  }%
}
% ^^-- The same as \AddToShipoutPicture

\AddToShipoutPictureFG{
  \AtTextCenter{
    \put(-10mm,-10mm){%
      \textcolor{green!30}{\circle*{.5\textwidth}}}%
  }%
}

\begin{document}

\blindtext\par\blindtext\par
\blindtext\par\blindtext\par
\blindtext \newpage

\ClearShipoutPictureFG

\blindtext\par\blindtext\par
\blindtext\par\blindtext\par
\blindtext \newpage

\ClearShipoutPictureBG
% ^^-- The same as \ClearShipoutPicture

\blindtext\par\blindtext\par
\blindtext\par\blindtext\par
\blindtext

\end{document}