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/template.tex |
Initial commit
Diffstat (limited to 'support/acroweb/acroweb/template.tex')
-rw-r--r-- | support/acroweb/acroweb/template.tex | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/support/acroweb/acroweb/template.tex b/support/acroweb/acroweb/template.tex new file mode 100644 index 0000000000..faab3fd51b --- /dev/null +++ b/support/acroweb/acroweb/template.tex @@ -0,0 +1,125 @@ +\documentclass{article} + +\usepackage[nodirectory,navibar,designiii,pdftex]{web} + +\usepackage{color} +\usepackage[pdftex]{eforms} +\usepackage[pdftex]{exerquiz} + +\usepackage{graphicx} +\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 Solve: #1\end{minipage}} +\everymath{\displaystyle} + +\begin{document} + +\author{Your Name} +\title{\hbox{The title}} +\def\optionalpagematter{ + \begin{itemize} + \item Instrutions to the test. + \item Write all informations here. + \item Test starts on the next page. + \end{itemize} +} +\maketitle + +\quiztype{f} + +\begin{quiz}{name} +\begin{questions} +\begin{multicols}{2}\problem{This is question number $1$} +\begin{answers}{1} +\Ans0 incorrect answer number 1\\[5pt] +\Ans0 incorrect answer number 2\\[5pt] +\Ans0 incorrect answer number 3\\[5pt] +\Ans0 incorrect answer number 4\\[5pt] +\Ans1 another answer\end{answers} + + +\problem{This is question number $3$} +\begin{answers}{1} +\Ans0 incorrect answer number 5\\[5pt] +\Ans0 incorrect answer number 3\\[5pt] +\Ans0 incorrect answer number 4\\[5pt] +\Ans1 this is correct answer\\[5pt] +\Ans0 another answer\end{answers} + + +\problem{This is question number $6$} +\begin{answers}{1} +\Ans0 incorrect answer number 4\\[5pt] +\Ans0 incorrect answer number 3\\[5pt] +\Ans1 this is correct answer\\[5pt] +\Ans0 incorrect answer number 5\\[5pt] +\Ans0 another answer\end{answers} + + +\problem{This is question number $5$} +\begin{answers}{1} +\Ans0 incorrect answer number 3\\[5pt] +\Ans0 incorrect answer number 4\\[5pt] +\Ans0 incorrect answer number 1\\[5pt] +\Ans1 this is correct answer\\[5pt] +\Ans0 another answer\end{answers} + + +\end{multicols} +\end{questions} +\end{quiz} +\ScoreField\currQuiz\eqButton\currQuiz + +\end{document} |