Debian Codegraph @

texmf-dist/doc/latex/blowup/blowup-ex5.tex

raw
1 % Rolf Niepraschk, 2023-07-15
2 %
3 % Translate to pdf with any TeX compiler and check the page size with
4 %
5 % pdfinfo filename.pdf
6 %
7 % or via the properties menu of the pdf viewer
8 %
9 \listfiles
10 \documentclass[paper=b6,fontsize=11pt,twoside]{scrartcl}
11
12 % Just to show the page size of the source.
13 \usepackage{xcolor}
14 \AddToHook{shipout/background}{%
15 \put(0,0){\textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}}%
16 }
17
18 \newcommand*\aPage{%
19 \Huge
20 \noindent A \hfill B \hfill C
21 \vfill
22 \noindent X \hfill Y \hfill Z \newpage}
23
24 \usepackage{blowup}
25 \blowUp{target=a4,pos={inside,top},noscale}
26
27 \begin{document}
28
29 \aPage
30 \aPage
31 \aPage
32 \aPage
33
34 \end{document}