summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pagelayout/doc/example-graphic.tex
blob: 5eb085bef78e249c029d7185bbcb025424a3ef51 (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
%%
%% Copyright (c) 2022-2023 by Friedemann Bartels
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3c of this license or (at your option) any later
%% version.  The latest version of this license is in:
%%
%%    http://www.latex-project.org/lppl.txt
%%
%% and version 1.3c or later is part of all distributions of
%% LaTeX version 2008/05/04 or later.
%%

\documentclass{pagelayout}

\pagewidth=20cm
\pageheight=20cm
\bleed=3mm

\optimize[quality=50, density=72]
\preflight
\safezone

\newgraphic{kopi scaled}{scale=1.02, hpos=0.2, vpos=1, file=kopi}

\begin{document}

  \page{
    \graphic[hpos=0, scale=1.2]{3x2}
  }

  \page[page graphic=kopi scaled]{}

\end{document}