summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/aeb-tilebg/examples/tilebg_tst.tex
diff options
context:
space:
mode:
Diffstat (limited to 'texmf-dist/doc/latex/aeb-tilebg/examples/tilebg_tst.tex')
-rw-r--r--texmf-dist/doc/latex/aeb-tilebg/examples/tilebg_tst.tex76
1 files changed, 76 insertions, 0 deletions
diff --git a/texmf-dist/doc/latex/aeb-tilebg/examples/tilebg_tst.tex b/texmf-dist/doc/latex/aeb-tilebg/examples/tilebg_tst.tex
new file mode 100644
index 00000000..3db64961
--- /dev/null
+++ b/texmf-dist/doc/latex/aeb-tilebg/examples/tilebg_tst.tex
@@ -0,0 +1,76 @@
+\documentclass{article}
+\usepackage[tight,designiv,usetemplates]{web}
+\usepackage{aeb_tilebg}
+
+\title{Creating Tiled Backgrounds}
+\author{D. P. Story}
+\subject{Test file for the AcroTeX eDucation Bundle}
+\keywords{LaTeX, Web package, tiled backgrounds, Adobe Acrobat}
+\university{Acro\negthinspace\TeX.Net}
+\email{dpstory@acrotex.net}
+\def\webversion{\textcolor{webbrown}{www.acrotex.net}}
+\revisionLabel{Prepared:}
+\versionLabel{}
+
+\graphicspath{{tile/}}
+
+\setTileBgGraphic[scale=.2]{./tmfpurple_50}
+
+%\textBgColor{cornsilk}
+
+\parindent0pt\parskip\medskipamount
+
+\begin{document}
+
+\maketitle
+
+\setTileBgGraphic[scale=.75]{./brewtile1}
+
+This newest package is a simple application of established packages
+\textsf{graphicx}, \textsf{multido} and \textsf{web}.
+
+Download your favorite tiled background swatch from the Internet,
+convert it to an \texttt{.eps} or a \texttt{.pdf} format (depending
+if you use \textsf{distiller} or \textsf{pdftex}), place that image
+in the same folder as your source document. Anywhere in your
+document, use the command \verb!\setTileBgGraphic! to bring in your
+tiled background using the \textsf{graphicx} package; for example,
+\begin{verbatim}
+\setTileBgGraphic[scale=.75]{./brewtile1}
+\end{verbatim}
+The \textsf{multido} package places these images in the background,
+starting from the upper-left corner (the lower left corner if the
+\texttt{uselltiling} option is taken) going across and up
+(respectively, going across and down), one row at a time. The web
+package is used to manage the graphical template created.
+
+\newpage
+
+\setTileBgGraphic[scale=.5]{./math-bkgrd}
+
+Inserting a second file will create a new tiled background, like so
+\begin{verbatim}
+\setTileBgGraphic[scale=.5]{./math-bkgrd}
+\end{verbatim}
+
+
+\newpage
+
+\disableTiling
+
+You can disable tiling by using the \verb!\disableTiling! command then\dots
+
+\newpage
+
+\enableTiling
+\setTileBgGraphic[scale=.5]{./IndianBlanket}
+
+Re-enable it later by using \verb!\enableTiling!, possibly with a
+new tile graphic, as on this page
+\begin{verbatim}
+\enableTiling
+\setTileBgGraphic[scale=.5]{./IndianBlanket}
+\end{verbatim}
+Very swave!
+
+\end{document}