summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pagelayout/doc/example-graphic.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/pagelayout/doc/example-graphic.tex')
-rw-r--r--macros/latex/contrib/pagelayout/doc/example-graphic.tex35
1 files changed, 35 insertions, 0 deletions
diff --git a/macros/latex/contrib/pagelayout/doc/example-graphic.tex b/macros/latex/contrib/pagelayout/doc/example-graphic.tex
new file mode 100644
index 0000000000..5eb085bef7
--- /dev/null
+++ b/macros/latex/contrib/pagelayout/doc/example-graphic.tex
@@ -0,0 +1,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}