summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/acromemory/examples/acromemory1_2.tex
blob: 0dbb9537586c9dca3228d9e2c81f60741a1148fb (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
68
69
70
71
72
73
74
75
76
77
\documentclass{article}
\usepackage[designv,nodirectory]{web}   % dvips or dvipsone
\usepackage[execJS]{eforms}             % this is required
\usepackage{graphicx}                   % required, too
\usepackage[acromemory1]{acromemory}

%\usepackage{myriadpro}

\title{AcroMemory\texorpdfstring{\\}{: }The Memory Game}
\author{D. P. Story}
\subject{Sample file}
\keywords{Adobe Acrobat, LaTeX, PDF, Memory, Game}

\email{dpstory@acrotex.net}
\version{1.0}
\copyrightyears{\the\year}

\definecolor{bg}{rgb}{0.89,0.9,0.9}
\optionalPageMatter{%
    \par\minimumskip\vspace{\stretch{1}}
    \begin{center}
    \fcolorbox{blue}{bg}{
    \begin{minipage}{.67\linewidth}
    \noindent\textcolor{red}{\textbf{Instructions:}}
    Match images in the gameboard on the next page, the important thing
    is to have fun.
    \end{minipage}}
    \end{center}
}
%
% Comment out the next command out when you are ready to
% publish the game. Un-comment for preview/debugging purposes.
%
% \bDebug
%
% Commands for specifying the dimensions, rows, columns and paths
%
\theTotalTiles{20}
\theNumRows{5}
\theNumCols{4}
\theImportPath{dinos/mydinos}
\theTeXImageWidth{2in}
%
% The tiles were made to be 2in x 2in. 5 rows and 4 columns gives
% me 8in x 10in game board. But, if I rescale the width to 2in, then
% we rescale using a factor of 0.25, which leads to a 2in x 2.5in
% game board, and that is what I declare!
%
\provideDimensions{2in}{2.5in}

\parskip6pt
\parindent0pt
\thispagestyle{empty}

\begin{document}

%\maketitle

\begin{center}
\bfseries  \Large\color{blue} AcroMemory\\[1ex]
\large D. P. Story\normalcolor

%
% I leave space by dimension by specifying the size of the rescaled
% game board to be 2in x 2.5in.
%
% Set the upper left corner here, and leave room for the game board.
%
\ulCornerHere\reserveSpaceByDimension{2in}{2.5in}

\end{center}
\begin{center}
    \messageBox{2in}{25pt}\\[1ex]
    \playItAgain{}{12bp}
\end{center}

\end{document}