15

I'm getting a warning that the everypage package is now in legacy status due to similar functionality provided by LaTeX. Great, what is it?

John Kormylo
  • 79,712
  • 3
  • 50
  • 120
  • 2
    Note that everypage will still work in newer releases, so \usepackage{everypage} then \AddEverypageHook should work regardless of the LaTeX release – Phelype Oleinik Dec 02 '20 at 16:38

1 Answers1

9

You can now add to the hook shipout/background, which does the same job:

\documentclass{article}
\AddToHook {shipout/background}{\put (1in,-1in){Hello world!}}
\begin{document}

Text

\newpage

Test

\end{document}

(If you \show the \AddEverypageHook command after the update, this is exactly what it now does.)

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036
  • Found the docs in base/lthooks-docs You had me worried with \put. – John Kormylo Dec 03 '20 at 01:23
  • 1
    I'm getting this warning even though I do not specifically call it myself. Something else is calling it. Now what? (edited: I think it might be the package background calling it) – DrBeco Jun 14 '23 at 02:26