CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/everypage


The everypage package


This package is now in legacy status. Functionality similar to that provided by this package is directly implemented in since its 2020 Fall release. Do not use everypage in new documents and do not rely on it in new packages or classes of yours.

When running on a pre-2020-10-01 version of , everypage will now fall back to everypage-1x, its own past code base.

When running on a modern , everypage will strive to provide its legacy interfaces by using the newer facilities. However, full equivalence is not possible and breakage may occur. Load everypage-1x in place of everypage if you really want to force usage of the old code base (that might keep working for a few more release cycles).

Historic behavior

The everypage package extends providing hooks to do actions on every page or on the current page. Speci´Čücally, actions are performed before the page is shipped, so they can be used to put watermarks in the background of a page, or to set the page layout. The package reminds in some sense bobhook by Karsten Tinnefeld, but it differs in the way in which the hooks are implemented, as detailed in the package documentation. In some sense it may also be related to the package everyshi by Martin Schroeder, but again the implementation is different.

The everypage package is copyright 2006, 2007, 2020. by Sergio Callegari <sergio.callegari@gmail.com>

It comprises this README.md file, as well as files

  • everypage.dtx
  • everypage.ins

To install the package, run on the installation script everypage.ins and follow the instructions provided by the script itself.


This is version 2.0 of the everypage package, suitable for releases post Fall 2020.

Version 1.2 might keep working for a few more release cycles. It is now available as everypage-1x. It fixed a minor issue with the ordering of operations, in version 1.1.

Version 1.1 fixed a bug in version 1.0 that caused to exceed its capacity or to hang. Such behaviour was particularly evident in conjunction with the draftwatermark package.



Package everypage may be distributed and/or modified under the conditions of the Project Public License, version 1.3c. This license is available at https://www.latex-project.org/lppl/lppl-1-3c/.

This work has the LPPL maintenance status "maintained".

Download the contents of this package in one zip archive (164.8k).

everypage – Provide hooks to be run on every page of a document

The package provides hooks to perform actions on every page, or on the current page. Specifically, actions are performed after the page is composed, but before it is shipped, so they can be used to prepare the output page in tasks like putting watermarks in the background, or in setting the next page layout, etc.

Bug trackerhttps://github.com/callegar/LaTeX-everypage/issues
LicensesThe Project Public License 1.3c
Copyright2006,2020 Sergio Callegari
MaintainerSergio Callegari
Contained inTeX Live as everypage
MiKTeX as everypage
TopicsDefer stuff
See alsoeveryshi
Guest Book Sitemap Contact Contact Author