| 1 |
%% |
| 2 |
%% Copyright (c) 2022-2024 by Friedemann Bartels |
| 3 |
%% |
| 4 |
%% This file may be distributed and/or modified under the |
| 5 |
%% conditions of the LaTeX Project Public License, either |
| 6 |
%% version 1.3c of this license or (at your option) any later |
| 7 |
%% version. The latest version of this license is in: |
| 8 |
%% |
| 9 |
%% http://www.latex-project.org/lppl.txt |
| 10 |
%% |
| 11 |
%% and version 1.3c or later is part of all distributions of |
| 12 |
%% LaTeX version 2008/05/04 or later. |
| 13 |
%% |
| 14 |
|
| 15 |
\documentclass[draft]{pagelayout} |
| 16 |
\usepackage{lipsum} |
| 17 |
|
| 18 |
\pagewidth=15cm |
| 19 |
\pageheight=15cm |
| 20 |
\gutter=10mm |
| 21 |
|
| 22 |
\newborder{my border}{width=2mm, color=magenta, radius=5mm} |
| 23 |
\newshadow{my shadow}{size=5, color=magenta, opacity=1} |
| 24 |
|
| 25 |
\begin{document} |
| 26 |
|
| 27 |
\template{ff-ff}{ |
| 28 |
\graphic[ |
| 29 |
border=my border, |
| 30 |
border radius=10mm |
| 31 |
]{1x1} |
| 32 |
|
| 33 |
\graphic[ |
| 34 |
border=my border, |
| 35 |
shadow=my shadow |
| 36 |
]{1x1} |
| 37 |
|
| 38 |
\text[ |
| 39 |
shadow=my shadow, |
| 40 |
shadow color=black, |
| 41 |
shadow opacity=0.2 |
| 42 |
]{\lipsum[1][1-5]} |
| 43 |
|
| 44 |
\graphic[ |
| 45 |
shadow size=5, |
| 46 |
shadow opacity=0.6, |
| 47 |
shadow xshift=1mm, |
| 48 |
shadow yshift=1mm |
| 49 |
]{1x1} |
| 50 |
} |
| 51 |
|
| 52 |
\end{document} |