diff options
Diffstat (limited to 'macros/latex/contrib/blowup/blowup-ex3.tex')
-rw-r--r-- | macros/latex/contrib/blowup/blowup-ex3.tex | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/macros/latex/contrib/blowup/blowup-ex3.tex b/macros/latex/contrib/blowup/blowup-ex3.tex index b4364c8bee..65cf7b8dc9 100644 --- a/macros/latex/contrib/blowup/blowup-ex3.tex +++ b/macros/latex/contrib/blowup/blowup-ex3.tex @@ -1,34 +1,30 @@ - -%--------------------------- -% 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[a5paper,twoside]{article} -\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! -\blowUp{origin={143mm,202mm},target=a5,pos={o,b}}% top and outside aligned -% or the same: +\usepackage{blowup} +\blowUp{origin={143mm,202mm},target=a5,pos={o,c}}% centered and outside aligned +% or: % \blowUp{origin=x0.966216,target=a5,pos={o,b}}% top and outside aligned \begin{document} @@ -38,7 +34,7 @@ \Large\centering A bit downscaled A5-size document on \mbox{A5-size paper} -(more space for binding) +(5mm more space for binding) \vfill @@ -63,4 +59,3 @@ A bit downscaled A5-size document on \mbox{A5-size paper} \newpage\null 2nd page\,\dots \end{document} -%--------------------------- |