diff options
Diffstat (limited to 'macros/latex/contrib/blowup/blowup-ex2.tex')
-rw-r--r-- | macros/latex/contrib/blowup/blowup-ex2.tex | 40 |
1 files changed, 18 insertions, 22 deletions
diff --git a/macros/latex/contrib/blowup/blowup-ex2.tex b/macros/latex/contrib/blowup/blowup-ex2.tex index 7833df4ac5..bb9d839fc7 100644 --- a/macros/latex/contrib/blowup/blowup-ex2.tex +++ b/macros/latex/contrib/blowup/blowup-ex2.tex @@ -1,33 +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[a4paper,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{target=letter,pos=outside}% outside aligned +\usepackage{blowup} +\blowUp{target=letter,pos=c}% centered +%\blowUp{target=letter,pos=outside}% outside aligned \begin{document} @@ -60,4 +57,3 @@ A4-size document on letter-size paper \newpage\null 2nd page\dots \end{document} -%--------------------------- |