diff options
Diffstat (limited to 'macros/latex/contrib/blowup/blowup-ex1.tex')
-rw-r--r-- | macros/latex/contrib/blowup/blowup-ex1.tex | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/macros/latex/contrib/blowup/blowup-ex1.tex b/macros/latex/contrib/blowup/blowup-ex1.tex index 47df129299..eb58ff61ef 100644 --- a/macros/latex/contrib/blowup/blowup-ex1.tex +++ b/macros/latex/contrib/blowup/blowup-ex1.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[letterpaper,twoside]{article} \usepackage{array,xcolor} -% Only to show the source page size. -\usepackage{eso-pic} -\AddToShipoutPicture{% - \AtPageLowerLeft{\textcolor{green!30}{\rule{\paperwidth}{\paperheight}}}% +% 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=a4,pos=c}% vert. and horiz. centered (default) \begin{document} |