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.tex37
1 files changed, 16 insertions, 21 deletions
diff --git a/macros/latex/contrib/blowup/blowup-ex4.tex b/macros/latex/contrib/blowup/blowup-ex4.tex
index d7c12f9677..c68fb04777 100644
--- a/macros/latex/contrib/blowup/blowup-ex4.tex
+++ b/macros/latex/contrib/blowup/blowup-ex4.tex
@@ -1,32 +1,28 @@
-
-%---------------------------
-% Rolf Niepraschk, Rolf.Niepraschk@gmx.de, 2017-07-28
-
-% lualatex blowup-test.tex
-% or
-% pdflatex blowup-test.tex
-% or
-% latex blowup-test.tex ; dvips blowup-test ; ps2pdf blowup-test.ps
-% or
-% vlatex blowup-test.tex
+% Rolf Niepraschk, 2020-09-19
+%
+% Translate to pdf with any TeX compiler and check the page size with
+%
+% pdfinfo filename.pdf
+%
+% or via the properties menu of the pdf viewer
%
-% pdfinfo blowup-test.pdf
-
\listfiles
\documentclass[paper=a4,landscape]{scrartcl}
-\usepackage{array,xcolor}
-
-% Only to show the source page size.
-\usepackage{eso-pic}
-\AddToShipoutPicture{%
- \AtPageLowerLeft{\textcolor{green!30}{\rule{\paperwidth}{\paperheight}}}%
+\usepackage{array}
+
+% Just to show the page size of the source.
+\usepackage{xcolor,atbegshi}
+\AtBeginShipout{%
+ \AtBeginShipoutUpperLeft{%
+ \textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}%
+ }%
}
\renewcommand\familydefault{\sfdefault}
\setlength\parindent{0pt}
\pagestyle{empty}
-\usepackage{blowup}% Load "blowup" as last package!
+\usepackage{blowup}
\blowUp{target=a0,landscape,onepage}
\begin{document}
@@ -61,4 +57,3 @@ The first page of a multipage A4-size document scaled to \mbox{A0-size paper}
\newpage\null 2nd page\,\dots
\end{document}
-%---------------------------