summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/aeb-tilebg/examples/tilebg_tst_pro.tex
blob: e2c2a94aec1e893cafcea1df85ad15be8f04b751 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
\documentclass{article}
\usepackage[
    web={tight,designiv,usetemplates}
]{aeb_pro}
\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{}

%
% If you want to construct a screen size that exactly fits
% seven rows and five columns, follow the instructions in the
% file tilebg_blank.tex, then remove the designiv from the optional
% parameter list above, then uncomment the \autosetScreensizeWithMargins
% line below. LaTeX and build the file. There should be seven rows and five
% columns exactly.
%
%\setTileBgGraphic[scale=.25]{tile/bike_10}
%\autosetScreensizeWithMargins{7}{5}{.25in}{.25in}{24pt}{.25in}
%\disableTiling

%
% The method below can be used to specify a page range of
% over which the file is inserted, and can be used several times
% to add different backgrounds to the same document as well.
%
\begin{docassembly}
var _thisPath = /.*\//i.exec(this.path)[0]; // get path to this file.
\addWatermarkFromFile({
    bOnTop:false,
    cDIPath:_thisPath+"bike_bg.pdf"
});
\executeSave();
\end{docassembly}

\parindent0pt\parskip\medskipamount

\begin{document}

\maketitle

%
% Change the number of iterations below, build the file
% and observe the file size. As the number of pages increases
% the file size does not increase much. The graphic is re-used.
%
\multido{\i=1+1}{4}{\null\newpage}




\end{document}