summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/eso-pic/eso-ex4.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/eso-pic/eso-ex4.tex')
-rw-r--r--Master/texmf-dist/doc/latex/eso-pic/eso-ex4.tex20
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/eso-pic/eso-ex4.tex b/Master/texmf-dist/doc/latex/eso-pic/eso-ex4.tex
index fed7e016740..eb617a7bbd6 100644
--- a/Master/texmf-dist/doc/latex/eso-pic/eso-ex4.tex
+++ b/Master/texmf-dist/doc/latex/eso-pic/eso-ex4.tex
@@ -1,8 +1,8 @@
% file `eso-ex4.tex'; a framed text area example
-% Rolf Niepraschk, 2005-12-25, Rolf.Niepraschk@ptb.de
+% Rolf Niepraschk, 2015-07-14, Rolf.Niepraschk@gmx.de
-\listfiles\errorcontextlines=100
+\listfiles\setcounter{errorcontextlines}{100}
\documentclass[a4paper,twoside]{article}
\usepackage{graphicx,color}
\usepackage{eso-pic}
@@ -17,30 +17,30 @@
\begin{document}
\section*{First page}
-
+
This page and all the following have a frame around the
text area.
\vfill
X \hfill X\newpage
- \section*{Second page}
-
+ \section*{Second page}
+
\AddToShipoutPicture*{%
\AtTextCenter{%
\makebox(0,0)[c]{\resizebox{\textwidth}{!}{%
- \rotatebox{45}{\textsf{\textbf{\color{lightgray}DRAFT}}}}}
+ \rotatebox{45}{\textsf{\textbf{\color{lightgray}DRAFT}}}}}
}
}
-
+
Only this page has rotated text in the center of the text area.
-
+
\vfill
X \hfill X\newpage
\section*{Last page}
-
+
\vfill
X \hfill X
-
+
\end{document}