summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/mkstmpdad/examples/aeb_dad/dd_uspres.tex
blob: a7e35c66f5ffe9421d23feaa0b5712cd6ead5b17 (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
60
61
62
63
64
65
66
67
\listfiles
\documentclass{article}
\usepackage{web}
\usepackage{eforms}
\usepackage{aeb_dad}

\marginsize{.25in}{.25in}{24pt}{.25in}
\screensize{4.5in}{6.5in}

\title{Using Stamps in a Matching Game}
\author{D. P. Story}
\university{Acro\negthinspace\TeX.Net}
\subject{Demo for using stamps as part of a drag and drop game}
\keywords{acrotex,forms,stamps}
\email{dpstory@acrotex.net}
\version{1.0}

\pagestyle{empty}

\setAnnotOptions{title={D.P. Story}}

\parindent0pt\parskip6pt

\optionalPageMatter{\begin{center}
\fbox{\begin{minipage}{.67\linewidth}
\textbf{\textcolor{red}{Important:}} This document needs to be viewed
using \textsf{Adobe Reader XI}, or later; otherwise, the functionality of
the game presented here is lost. The document will behave as designed when
viewed using \textsf{Adobe Acrobat}, any version. Also, for the drag and
drop matching to work, this file needs to be \emph{viewed outside of a
browser}.
\end{minipage}}
\end{center}}

\begin{document}

\maketitle

\initDDGame{Presidents}

\ddDimens
{%
    iconwidth=1in,iconheight=1.5in,
    targetwidth=1in,targetheight=1.5in
}

\centering

\ddGameIcon{George Washington}\quad
\ddGameIcon{John Adams}\quad
\ddGameIcon{Thomas Jefferson}\quad
\ddGameIcon{James Madison}\quad
\ddGameIcon{John Quincy Adams}

\ddTargetFmt{\sffamily\small\bfseries}


\ddTargetOfIcon{John Quincy Adams}{John Quincy Adams}\quad
\ddTargetOfIcon{Thomas Jefferson}{Thomas Jefferson}\quad
\ddTargetOfIcon{James Madison}{James Madison}\quad
\ddTargetOfIcon{George Washington}{George Washington}\quad
\ddTargetOfIcon{John Adams}{John Adams}

\ddReset


\end{document}