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?
Asked
Active
Viewed 2,707 times
15
1 Answers
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
-
1I'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
backgroundcalling it) – DrBeco Jun 14 '23 at 02:26
everypagewill still work in newer releases, so\usepackage{everypage}then\AddEverypageHookshould work regardless of the LaTeX release – Phelype Oleinik Dec 02 '20 at 16:38