summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/blowup/blowup-ex6.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/blowup/blowup-ex6.tex')
-rw-r--r--macros/latex/contrib/blowup/blowup-ex6.tex59
1 files changed, 59 insertions, 0 deletions
diff --git a/macros/latex/contrib/blowup/blowup-ex6.tex b/macros/latex/contrib/blowup/blowup-ex6.tex
new file mode 100644
index 0000000000..4128a48b36
--- /dev/null
+++ b/macros/latex/contrib/blowup/blowup-ex6.tex
@@ -0,0 +1,59 @@
+% 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
+%
+\listfiles
+\documentclass[a4paper,twoside]{article}
+\usepackage{array,xcolor}
+
+% 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}
+\blowUp{h-mirroring,v-mirroring}% vertical and horizontal mirrored
+
+\begin{document}
+
+\null\vfill
+
+\huge\centering
+
+A4-sized document not resized, mirrored vertically and horizontally
+
+\vfill
+
+\setlength\extrarowheight{.5ex}
+\begin{tabular}{|>{\bfseries}l<{:}r<{\,mm}!{$\times$}r<{\,mm}|} \hline
+ letter & 216 & 279 \\
+ legal & 216 & 356 \\
+ executive & 184 & 267 \\
+ A8 & 52 & 74 \\
+ A7 & 74 & 105 \\
+ A6 & 105 & 148 \\
+ A5 & 148 & 210 \\
+ A4 & 210 & 297 \\
+ A3 & 297 & 420 \\
+ A2 & 420 & 594 \\
+ A1 & 594 & 841 \\
+ A0 & 841 & 1189 \\ \hline
+\end{tabular}
+
+\vfill
+
+\newpage\null 2nd page\dots
+
+\end{document}
+%---------------------------