%% %% This is file `eso-p-t.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% eso-pic.dtx (with options: `demo') %% %% Copyright (C) 1998 by Rolf Niepraschk. All rights reserved. %% %% This file is part of the eso-pic package %% %% Error Reports in case of UNCHANGED versions to niepraschk@ptb.de %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% %% \iffalse meta-comment %% =================================================================== %% @LaTeX-package-file{ %% author = {Rolf Niepraschk}, %% version = "0.5", %% date = "11 July 1998", %% filename = "eso-pic.sty", %% address = "", %% telephone = "", %% email = "niepraschk@ptb.de", %% codetable = "ISO/ASCII", %% keywords = "LaTeX2e, \shipout, picture", %% dependences = "everyshi", %% supported = "yes", %% docstring = "LaTeX package which makes it easy to add some %% picture commands to every page." %% } %% =================================================================== %% \fi %% %% %% \documentclass[a4paper]{article} \usepackage{eso-pic,calc} \listfiles \makeatletter \AddToShipoutPicture{% \setlength{\@tempdima}{15mm} \setlength{\@tempdimb}{\paperwidth-2\@tempdima} \setlength{\@tempdimc}{\paperheight-2\@tempdima} \setlength{\unitlength}{1pt}\thicklines% \put(\strip@pt\@tempdima,\strip@pt\@tempdima){% \framebox(\strip@pt\@tempdimb,\strip@pt\@tempdimc){} } } \makeatother \begin{document} \section*{First page} This page and all the following have a frame with 15~mm distance from the paper edges.\newpage \section*{Second page} \newpage \section*{Last page} \end{document} \endinput %% %% End of file `eso-p-t.tex'.