summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/aeb_pro/acromemory/examples/acromemory2_2.tex
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/aeb_pro/acromemory/examples/acromemory2_2.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/aeb_pro/acromemory/examples/acromemory2_2.tex')
-rw-r--r--macros/latex/contrib/aeb_pro/acromemory/examples/acromemory2_2.tex84
1 files changed, 84 insertions, 0 deletions
diff --git a/macros/latex/contrib/aeb_pro/acromemory/examples/acromemory2_2.tex b/macros/latex/contrib/aeb_pro/acromemory/examples/acromemory2_2.tex
new file mode 100644
index 0000000000..a61b7432d5
--- /dev/null
+++ b/macros/latex/contrib/aeb_pro/acromemory/examples/acromemory2_2.tex
@@ -0,0 +1,84 @@
+\documentclass{article}
+\usepackage[designv,nodirectory]{web} % dvips or dvipsone
+\usepackage[execJS]{eforms} % required
+\usepackage{graphicx} % also required
+\usepackage{acromemory}
+
+\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 the randomized images on the right, to the non-randomized
+ images on the left. Passing is having the patience to complete
+ the memory game.
+ \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{4}
+\theNumCols{5}
+%
+% Unlike acromemory2_1.tex, I don't need the optional argument. dpsweb is the base name
+% of everything, including an .eps image of the game board, dpsweb.eps.
+%
+\theImportPath{dpsweb/dpsweb}
+\theTeXImageWidth{2in}
+\parskip6pt
+\parindent0pt
+\thispagestyle{empty}
+
+\begin{document}
+
+% \maketitle
+
+\begin{center}
+\bfseries \Large\color{blue} AcroMemory\\[1ex]
+\large D. P. Story
+\end{center}
+
+\begin{center}
+
+%
+% Put the corners here and reserve space for each board. I'll put the
+% left one (the non-randomized one on the left) and the right one
+% (the board that is randomized) on the right. The position of these
+% boards can be switched. Just remember, wherever you place it,
+% \LulCornerHere is the non-randomized board.
+%
+\LulCornerHere\reserveSpaceByFile\qquad\RulCornerHere\reserveSpaceByFile
+\end{center}
+
+
+\bigskip
+\begin{center}
+
+%
+% Place the \helpImage to the left of the \messageBox, and the \rolloverHelpButton
+% to the right of the \messageBox. Of course, arrange it yourself.
+%
+
+ \helpImage\quad\messageBox{2in}{25pt}\quad\rolloverHelpButton{}{12pt}
+
+\end{center}
+
+\end{document}