summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/eso-pic/eso-ex6.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/eso-pic/eso-ex6.tex')
-rw-r--r--Master/texmf-dist/doc/latex/eso-pic/eso-ex6.tex48
1 files changed, 48 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-ex6.tex b/Master/texmf-dist/doc/latex/eso-pic/eso-ex6.tex
new file mode 100644
index 00000000000..991454014c3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/eso-pic/eso-ex6.tex
@@ -0,0 +1,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}
+
+