summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/blowup/blowup-ex5.tex
blob: da742eb153dfb8cfaf7cde8c396a6c563fe0f150 (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
% Rolf Niepraschk, 2023-07-15
%
% 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[paper=b6,fontsize=11pt,twoside]{scrartcl}

% Just to show the page size of the source.
\usepackage{xcolor}
\AddToHook{shipout/background}{%
  \put(0,0){\textcolor{green!30}{\rule[-\paperheight]{\paperwidth}{\paperheight}}}%
}

\newcommand*\aPage{%
  \Huge
  \noindent A \hfill B \hfill C 
  \vfill
  \noindent X \hfill Y \hfill Z \newpage}

\usepackage{blowup}
\blowUp{target=a4,pos={inside,top},noscale}

\begin{document}

\aPage
\aPage
\aPage
\aPage

\end{document}