summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/blowup/blowup-test0.tex
blob: df1b6503552a6282e3cca008d5c190d4c768a994 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80

%---------------------------
% Rolf Niepraschk, Rolf.Niepraschk@gmx.de, 2007-10-19

% pdflatex blowup-test.tex
% or
% latex blowup-test.tex ; dvips blowup-test ; ps2pdf blowup-test.ps
% or
% vlatex blowup-test.tex
%
% pdfinfo blowup-test.pdf

\listfiles
%\documentclass[a4paper,draft]{article}
\documentclass[letterpaper,draft]{article}
%\documentclass[legalpaper]{article}
%\documentclass[fontsize=10pt,paper=letter]{scrartcl}

\usepackage{array,printlen,xcolor}
\uselengthunit{mm}

% Only for the test to show the page size.
\usepackage{eso-pic}
\AddToShipoutPicture{%
  \AtPageLowerLeft{%
    \textcolor{green!30}{\rule{\paperwidth}{\paperheight}}}%
}

% Load "blowup" as last package!
\usepackage{blowup}
\blowUp{onepage,paper=a2,pos={t,r}}
%\blowUp{onepage,paper=x1.414213562,pos={t,r}}
%\blowUp{scale=1.414213562}
%\blowUp{paper={841mm,1189mm},pos=bottom}
%\blowUp{paper=a4,landscape}

\renewcommand\familydefault{\sfdefault}
\setlength\parindent{0pt}
\pagestyle{empty}

\begin{document}

\null\vfill

\huge\centering

\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

\LARGE
\begin{tabular}{>{\bfseries}lr!{$\times$}r}
  Original Paper Size: & 
    \rndprintlength{\paperwidth} & \rndprintlength{\paperheight} \\
  Final Paper Size: &
    \rndprintlength{\sPaperWidth} & \rndprintlength{\sPaperHeight}
\end{tabular}

\vfill

\newpage

More Text \dots

\end{document}
%---------------------------