summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/blowup/blowup-ex4.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/blowup/blowup-ex4.tex')
-rw-r--r--macros/latex/contrib/blowup/blowup-ex4.tex10
1 files changed, 4 insertions, 6 deletions
diff --git a/macros/latex/contrib/blowup/blowup-ex4.tex b/macros/latex/contrib/blowup/blowup-ex4.tex
index c68fb04777..2a41bc9836 100644
--- a/macros/latex/contrib/blowup/blowup-ex4.tex
+++ b/macros/latex/contrib/blowup/blowup-ex4.tex
@@ -1,4 +1,4 @@
-% Rolf Niepraschk, 2020-09-19
+% Rolf Niepraschk, 2023-07-15
%
% Translate to pdf with any TeX compiler and check the page size with
%
@@ -11,11 +11,9 @@
\usepackage{array}
% Just to show the page size of the source.
-\usepackage{xcolor,atbegshi}
-\AtBeginShipout{%
- \AtBeginShipoutUpperLeft{%
- \textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}%
- }%
+\usepackage{xcolor}
+\AddToHook{shipout/background}{%
+ \put(0,0){\textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}}%
}
\renewcommand\familydefault{\sfdefault}