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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
\documentclass{article}
\usepackage{amsmath}
\usepackage[%
% driver=dvips,
web={pro,tight,usesf},
eforms,exerquiz,dljslib={ImplMulti},
graphicxsp={showembeds}
]{aeb_pro}
\usepackage{rmannot}
\usepackage{acroflex}
\margins{.25in}{.25in}{24pt}{.25in} % left,right,top, bottom
\screensize{5in}{5.5in} % height, width dimensions
\DeclareDocInfo
{
title=\texorpdfstring{{\AcroFLeX}}{AcroFleX} Graphing System
\texorpdfstring{\\[1ex]}{: }Graphing a Subinterval,
author=D. P. Story,
university=Acro\negthinspace\TeX.Net,
email=dpstory@acrotex.net,
subject=Demo of the acroflex and the rmannot package,
keywords={Adobe Acrobat, JavaScript, Adobe FLEX 3, ActionScript},
talksite=\url{http://www.acrotex.net},
talkdate={July 2008},
copyrightStatus=True,
copyrightNotice={Copyright (C) \the\year, D. P. Story},
copyrightInfoURL=http://www.acrotex.net
}
\talkdateLabel{Published:}
\setWindowOptions{showtitle}
\requiredVersionMsg{%
Version 9 required: This document may be viewed, but version 9
of Acrobat/Adobe Reader is required to view the rich media
annotations present in this document.}
\requiredVersionMsgRedirect{%
Version 9 required: This document may be viewed, but version 9
of Acrobat/Adobe Reader is required to view the rich media
annotations present in this document.}
\requiresVersion[warnonly]{9}
\def\AcroTeX{Acro\!\TeX}
\def\myURL{http://www.math.uakron.edu/\string~dpstory}
%
% The following definitions are for the rmannot package.
% The \saveNamedPath associates the name AcroAd with the
% path to a Flash animation, Acro_Advertiser.swf.
% The two \makePoster definitions are for the posters of the
% rich media annotations. The first for the animation on page 1
% and the second for all the AcroFlex graphing screens.
\newcommand{\myRMFiles}{C:/Users/Public/Documents/My TeX Files/%
tex/latex/aeb/aebpro/rmannot/RMfiles}
%\newcommand{\myRMFiles}{C:/AcroTeX/acrotex/aebpro/rmannot/RMfiles}
\saveNamedPath{AcroAd}{\myRMFiles/Acro_Advertiser.swf}
%\saveNamedPath{AcroAd}{Acro_Advertiser.swf}
%
% See the rmannot documentation. You can create your own
% poster graphic and declare it in the preamble.
%
\makePoster[hiresbb]{aflogo}{aflogo}
\parindent=0pt
\pagestyle{empty}
\optionalPageMatter{%
\begin{center}
\begin{minipage}{.7\linewidth}
\resizebox{\linewidth}{!}{%
\rmAnnot[poster=AcroAd_poster,enabled=pageopen]{612bp}{265bp}{AcroAd}}%
\end{minipage}
\end{center}
}
\begin{document}
\maketitle
\dimScreenGraph{186bp}{186bp*3/4}
\graphName{graph1}
\begin{center}
{\large\textbf{\textcolor{blue}{Curves with filled area}}}\\[3ex]
\graphScreen[poster=aflogo]{\hScreenGraph}{\vScreenGraph}\par\smallskip
\makebox[\hScreenGraph][c]{\small\graphClrBtn{}{11bp}}
\end{center}
% I've added a new parameter xPlot, the value is an interval of numbers over which
% the graph is to be plotted. See the documentation in acroflex.dtx for a little more
% detail. xInterval={[-1.6,1.6]},
\defineGraphJS{graph=c1,wait,xInterval={[-1.6,1.6]},yInterval={[-.5,2]},points=40}{x^2}{\myParabola}
\defineGraphJS{graph=a1,wait,xPlot={[-1,0]},xInterval={[-1.6,1.6]},yInterval={[-.5,2]},points=40}{x^2}{\myShadedParabola}
\defineGraphJS{graph=a2,wait,xPlot={[-1,0]},xInterval={[-1.6,1.6]},yInterval={[-.5,2]},points=4}{1}{\myHLine}
View a shaded curve, and be
\setLinkText[\A{\JS{%
\clearGraphJS\r
\myShadedParabola\r
\myHLine\r
\myParabola\r
}}]{amazed!}%
\end{document}
|