summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/wallpaper/example/example.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/wallpaper/example/example.tex')
-rw-r--r--Master/texmf-dist/doc/latex/wallpaper/example/example.tex27
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/wallpaper/example/example.tex b/Master/texmf-dist/doc/latex/wallpaper/example/example.tex
new file mode 100644
index 00000000000..0a4f3f20b70
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/wallpaper/example/example.tex
@@ -0,0 +1,27 @@
+\documentclass[a4paper,11pt]{article}
+\usepackage{wallpaper}
+\usepackage{color}
+
+\begin{document}
+\TileSquareWallPaper{4}{TGTamber}
+\section*{An example of square tiles}
+\newpage
+\ThisTileWallPaper{0.25\paperwidth}{0.5\paperheight}{TGTamber}
+\section*{An example of changing the aspect ratio of the tiles on this page}
+\newpage
+\ThisCenterWallPaper{1.1}{hya}
+\color{white}
+\section*{Using centered wallpaper here}
+\newpage
+\ThisCenterWallPaper{0.25}{hya}
+\color{black}
+\section*{The default (square-tiled) wallpaper overlayed with a centered on this page}
+\newpage
+\ClearWallPaper
+\section*{The wallpaper removed}
+\end{document}
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End: