summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/wallpaper/example
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/wallpaper/example
Initial commit
Diffstat (limited to 'macros/latex/contrib/wallpaper/example')
-rw-r--r--macros/latex/contrib/wallpaper/example/TGTamber.pngbin0 -> 258090 bytes
-rw-r--r--macros/latex/contrib/wallpaper/example/auto/example.el11
-rw-r--r--macros/latex/contrib/wallpaper/example/example.tex31
-rw-r--r--macros/latex/contrib/wallpaper/example/hya.pngbin0 -> 1007305 bytes
4 files changed, 42 insertions, 0 deletions
diff --git a/macros/latex/contrib/wallpaper/example/TGTamber.png b/macros/latex/contrib/wallpaper/example/TGTamber.png
new file mode 100644
index 0000000000..ba9734f30f
--- /dev/null
+++ b/macros/latex/contrib/wallpaper/example/TGTamber.png
Binary files differ
diff --git a/macros/latex/contrib/wallpaper/example/auto/example.el b/macros/latex/contrib/wallpaper/example/auto/example.el
new file mode 100644
index 0000000000..a64447cd06
--- /dev/null
+++ b/macros/latex/contrib/wallpaper/example/auto/example.el
@@ -0,0 +1,11 @@
+(TeX-add-style-hook "example"
+ (lambda ()
+ (TeX-run-style-hooks
+ "color"
+ "wallpaper"
+ "latex2e"
+ "art11"
+ "article"
+ "11pt"
+ "a4paper")))
+
diff --git a/macros/latex/contrib/wallpaper/example/example.tex b/macros/latex/contrib/wallpaper/example/example.tex
new file mode 100644
index 0000000000..9e18f4a039
--- /dev/null
+++ b/macros/latex/contrib/wallpaper/example/example.tex
@@ -0,0 +1,31 @@
+\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}
+\newpage
+\ThisURCornerWallPaper{0.25}{TGTamber}
+\ThisLLCornerWallPaper{0.5}{TGTamber}
+\section*{LLCornerWallpaper and URCornerWallpaper }
+\end{document}
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
diff --git a/macros/latex/contrib/wallpaper/example/hya.png b/macros/latex/contrib/wallpaper/example/hya.png
new file mode 100644
index 0000000000..a0bc213afb
--- /dev/null
+++ b/macros/latex/contrib/wallpaper/example/hya.png
Binary files differ