diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
commit | 007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch) | |
tree | 90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/eso-pic/eso-ex4.tex | |
parent | 950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff) |
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
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.tex | 46 |
1 files changed, 46 insertions, 0 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 new file mode 100644 index 00000000000..580fd062f21 --- /dev/null +++ b/Master/texmf-dist/doc/latex/eso-pic/eso-ex4.tex @@ -0,0 +1,46 @@ + +% file `eso-ex4.tex'; a framed text area example +% Rolf Niepraschk, 2002-09-03, niepraschk@ptb.de + +\listfiles\errorcontextlines=100 +\documentclass[a4paper,twoside]{article} +\usepackage{graphicx,color} +\usepackage{eso-pic} +\definecolor{lightgray}{gray}{.75} + +\AddToShipoutPicture{% + \AtTextLowerLeft{% + \framebox(\LenToUnit{\textwidth},\LenToUnit{\textheight}){}}} + +\setlength\parindent{0pt} + +\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} + + \AddToShipoutPicture*{% + \AtTextCenter{% + \makebox(0,0)[c]{\resizebox{\textwidth}{!}{% + \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} |