summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/blowup/blowup-ex5.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/blowup/blowup-ex5.tex')
-rw-r--r--macros/latex/contrib/blowup/blowup-ex5.tex10
1 files changed, 4 insertions, 6 deletions
diff --git a/macros/latex/contrib/blowup/blowup-ex5.tex b/macros/latex/contrib/blowup/blowup-ex5.tex
index 435bc7ba27..da742eb153 100644
--- a/macros/latex/contrib/blowup/blowup-ex5.tex
+++ b/macros/latex/contrib/blowup/blowup-ex5.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
%
@@ -10,11 +10,9 @@
\documentclass[paper=b6,fontsize=11pt,twoside]{scrartcl}
% 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}}}%
}
\newcommand*\aPage{%