diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/acroweb/acroweb/demo1.tex |
Initial commit
Diffstat (limited to 'support/acroweb/acroweb/demo1.tex')
-rw-r--r-- | support/acroweb/acroweb/demo1.tex | 207 |
1 files changed, 207 insertions, 0 deletions
diff --git a/support/acroweb/acroweb/demo1.tex b/support/acroweb/acroweb/demo1.tex new file mode 100644 index 0000000000..0f86b3f7e6 --- /dev/null +++ b/support/acroweb/acroweb/demo1.tex @@ -0,0 +1,207 @@ +\documentclass{article} + +\usepackage{amsmath} + +\usepackage[nodirectory,navibar,designii,pdftex]{web} + +\usepackage{color} +\usepackage[pdftex]{eforms} +\usepackage[pdftex]{exerquiz} + +\usepackage{multicol} +\usepackage{eso-pic} +\definecolor{mycolor}{rgb}{0.4,0.4,1} +\AddToShipoutPicture{\hbox to \paperwidth{\hss\color{mycolor}\vrule width 1.5em height\paperheight}}% + +\navibarTextColor{black} +\navibarBgColor{mycolor} + +\makeatletter +\@newNaviIconMenu{\web@FirstPage}{34pt}{8pt} + {$\scriptstyle\blacktriangleleft\blacktriangleleft$}{FirstPage} +\@newNaviIconMenu{\web@LastPage}{34pt}{8pt} + {$\scriptstyle\blacktriangleright\blacktriangleright$}{LastPage} +\@newNaviIconMenu{\web@PrevPage}{34pt}{8pt} + {$\scriptstyle\blacktriangleleft$}{PrevPage} +\@newNaviIconMenu{\web@NextPage}{34pt}{8pt} + {$\scriptstyle\blacktriangleright$}{NextPage} + +\renewcommand\web@navigationbar{% +\hfill\bfseries\footnotesize +\web@FirstPage\ +\web@LastPage\ +\web@PrevPage\ +\web@NextPage\ +} + +\def\answers@@q[#1]#2% +{% + \gdef\numCols{#2}% + \edef\eqtmp{\aPointType}\xdef\aPointType{\eqtmp,[\eqPTs,"mc"]}% + \ifx\q@hwdest\@empty + \xdef\@qzsolndest{#1}% + \else + \gdef\@qzsolndest{\q@hwdest}% + \fi + \answers@q@tabular{#2}% +} + +\makeatother + +\let\rmdefault\sfdefault + +\hypersetup{pdfmenubar=true, pdftoolbar=true} + +\useBeginQuizButton +\useEndQuizButton +\def\AnswerFieldDefaults +{% + \BC{}\S{N}\Ff{\FfReadOnly} + } + +\everymath{\displaystyle} + + + +\def\problem#1\par{\bigskip\begin{minipage}{\linewidth}\item #1\end{minipage}} +\everymath{\displaystyle} + +\begin{document} + +\author{Robert Ma\v r\'\i k} +\title{Demo 1 -- Limits} +\def\optionalpagematter{ + \begin{itemize} + \item Find the limit of basic elementary function. + \item Click "Begin quizz", mark correct answers and click "End quizz". The number of correct answers appears in the field. + \item Click "Correct" and you will see the correct answers. + \item Test starts on the next page. + \end{itemize} +} +\maketitle + +\quiztype{f} + +\begin{quiz}{derivace} +\begin{multicols}3 +\begin{questions} +\problem{$\lim_{x\to 0^+}\ln x$} +\begin{answers}{1} +\Ans1 $-\infty$\\[5pt] +\Ans0 $1$\\[5pt] +\Ans0 $0$\\[5pt] +\Ans0 does not exist\\[5pt] +\Ans0 another answer\end{answers} + + +\problem{$\lim_{x\to e}\ln x$} +\begin{answers}{1} +\Ans0 $0$\\[5pt] +\Ans0 $\infty$\\[5pt] +\Ans0 $-\infty$\\[5pt] +\Ans0 does not exist\\[5pt] +\Ans1 another answer\end{answers} + + +\problem{$\lim_{x\to \frac \pi 2^+}\tan x$} +\begin{answers}{1} +\Ans0 $\frac\pi 2$\\[5pt] +\Ans0 $-\frac\pi 2$\\[5pt] +\Ans1 $-\infty$\\[5pt] +\Ans0 $-\frac\pi 4$\\[5pt] +\Ans0 another answer\end{answers} + + +\problem{$\lim_{x\to \frac \pi 2}\tan x$} +\begin{answers}{1} +\Ans0 $-\frac\pi 4$\\[5pt] +\Ans0 $\frac\pi 2$\\[5pt] +\Ans1 does not exist\\[5pt] +\Ans0 $-\infty$\\[5pt] +\Ans0 another answer\end{answers} + + +\problem{$\lim_{x\to \infty}\frac 1x$} +\begin{answers}{1} +\Ans1 $0$\\[5pt] +\Ans0 does not exist\\[5pt] +\Ans0 $-\infty$\\[5pt] +\Ans0 $-1$\\[5pt] +\Ans0 another answer\end{answers} + + +\problem{$\lim_{x\to+\infty}\arctan x$} +\begin{answers}{1} +\Ans0 $-1$\\[5pt] +\Ans0 $0$\\[5pt] +\Ans0 $\frac\pi 4$\\[5pt] +\Ans1 $\frac\pi 2$\\[5pt] +\Ans0 another answer\end{answers} + + +\problem{$\lim_{x\to e}\ln x$} +\begin{answers}{1} +\Ans0 $-1$\\[5pt] +\Ans0 does not exist\\[5pt] +\Ans0 $-\infty$\\[5pt] +\Ans1 $1$\\[5pt] +\Ans0 $\infty$ +\end{answers} + + +\problem{$\lim_{x\to -\infty}\sin x$} +\begin{answers}{1} +\Ans0 $\frac\pi 4$\\[5pt] +\Ans0 $\frac\pi 2$\\[5pt] +\Ans0 $\infty$\\[5pt] +\Ans0 $-\frac\pi 2$\\[5pt] +\Ans1 does not exist +\end{answers} + + +\problem{$\lim_{x\to \pi}\tan x$} +\begin{answers}{1} +\Ans0 $\frac\pi 2$\\[5pt] +\Ans0 $-1$\\[5pt] +\Ans0 $1$\\[5pt] +\Ans1 $0$\\[5pt] +\Ans0 $\infty$ +\end{answers} + + +\problem{$\lim_{x\to 1}\ln x$} +\begin{answers}{1} +\Ans0 $-1$\\[5pt] +\Ans0 $1$\\[5pt] +\Ans0 $-\infty$\\[5pt] +\Ans0 does not exist\\[5pt] +\Ans1 $0$ +\end{answers} + + +\problem{$\lim_{x\to 0^+}\ln x$} +\begin{answers}{1} +\Ans0 does not exist\\[5pt] +\Ans0 $-1$\\[5pt] +\Ans1 $-\infty$\\[5pt] +\Ans0 $\infty$\\[5pt] +\Ans0 $1$ +\end{answers} + + +\problem{$\lim_{x\to 1}\arctan x$} +\begin{answers}{1} +\Ans1 $\frac\pi 4$\\[5pt] +\Ans0 $0$\\[5pt] +\Ans0 $-1$\\[5pt] +\Ans0 does not exist\\[5pt] +\Ans0 $-\frac\pi 4$ +\end{answers} + + +\end{questions} +\end{multicols} +\end{quiz} +\ScoreField\currQuiz\eqButton\currQuiz + +\end{document} |