From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- .../latex/contrib/eq-save/examples/eqsave-name.tex | 134 +++++++++++++++++++++ .../contrib/eq-save/examples/eqsave-noname.pdf | Bin 0 -> 108324 bytes .../contrib/eq-save/examples/eqsave-noname.tex | 124 +++++++++++++++++++ 3 files changed, 258 insertions(+) create mode 100644 macros/latex/contrib/eq-save/examples/eqsave-name.tex create mode 100644 macros/latex/contrib/eq-save/examples/eqsave-noname.pdf create mode 100644 macros/latex/contrib/eq-save/examples/eqsave-noname.tex (limited to 'macros/latex/contrib/eq-save/examples') diff --git a/macros/latex/contrib/eq-save/examples/eqsave-name.tex b/macros/latex/contrib/eq-save/examples/eqsave-name.tex new file mode 100644 index 0000000000..743b464cb5 --- /dev/null +++ b/macros/latex/contrib/eq-save/examples/eqsave-name.tex @@ -0,0 +1,134 @@ +\documentclass{article} +\usepackage[fleqn]{amsmath} +\usepackage{web} +\usepackage{exerquiz} +\usepackage[!devmode]{eq-save} +\usepackage[ImplMulti]{dljslib} + +\def\lfootScore{\sField{.25in}{11bp}} +\def\lfootOutOf{\ooField{.25in}{11bp}} +\def\rfootPtsScore{\psField{.25in}{11bp}} +\def\rfootPtsOutOf{\pooField{.25in}{11bp}} + +\lfooter{Score {\lfootScore} out of {\lfootOutOf}} +\rfooter{Points {\rfootPtsScore} out of {\rfootPtsOutOf}} + + +\previewOff +\sqTurnOffAlerts +\PTsHook{($\eqPTs^{\text{pts}}$)} + +\parindent0pt + +\begin{document} + +\begin{center}\bfseries\large + Demonstrating the \texttt{eq-save} package\\ + Gatekeeper commands present\\[3pt] + \normalfont\normalsize Herr Dr Prof Story +\end{center} + +Answer some of the questions, save the document, then reopen it and continue +the `worksheet'. The tallies should continue from the values current at the +time the document was saved.\medskip + +Begin by entering your name in the input box below.\medskip + +\textbf{Warning:} Clearing or changing the name field clears all quizzes. After you begin, do not change +your name field or all entries will be lost.\bigskip + +Ihr Name: \nameField{IhrName}{2in}{11bp} + +\newpage +% separate the name field from the rest of the content, insert \BeginNoPeeking +\BeginNoPeeking + +\begin{oQuestion}{oQ1} +It is well known that $ 1 + 16 = \RespBoxMath{17}{1}{.0001}{[0,1]}$ +\end{oQuestion} + +\begin{shortquiz*}[sQ1] +Solve each of the following without error. +\begin{questions} + +\item Calculate: $ 8 \cdot 11 = \RespBoxMath{88}{1}{.0001}{[0,1]}$ +\item Enter the \emph{last name} of the Herr Dr Prof of this course. +\[ + \text{The Herr Dr Prof is }\RespBoxTxt{1}{0}{1}{Story} +\] + \item Which of the following is true +\begin{answers}{4} +\bChoices + \Ans1 true\eAns + \Ans0 false\eAns +\eChoices +\end{answers} +\item From the list below, select the mathematicians recognized as the originators of Calculus. +\begin{manswers}{4} +\bChoices + \Ans1 Newton\eAns + \Ans0 Gauss\eAns + \Ans1 Leibniz\eAns + \Ans0 Banach\eAns +\eChoices +\end{manswers} +\end{questions} +\end{shortquiz*} + + +\useBeginQuizButton +\useEndQuizButton + +\begin{quiz*}{qz1} +Solve each without error. +\begin{questions} + \item Which of the following is true +\begin{answers}{2} + \Ans1 true & \Ans0 false +\end{answers} +\item Calculate: $ 8 \cdot 11 = \RespBoxMath{88}{1}{.0001}{[0,1]}$ +\item From the list below, select the mathematicians recognized as the originators of Calculus. +\begin{manswers}{4} +\bChoices + \Ans1 Newton\eAns + \Ans0 Gauss\eAns + \Ans1 Leibniz\eAns + \Ans0 Banach\eAns +\eChoices +\end{manswers} +\end{questions} +\end{quiz*}\quad\ScoreField\currQuiz\olBdry\CorrButton\currQuiz + + + +\newpage + +The quiz on this page has points associated with each question, the points are tabulated separately, +and entered into the fields in the right footer. The questions above are figured in as 1 point each. + +\begin{quiz*}{qz2} +Solve each without error. +\begin{questions} + \item\PTs{2} Which of the following is true +\begin{answers}{2} +\bChoices + \Ans1 true\eAns + \Ans0 false\eAns +\eChoices +\end{answers} +\item\PTs{3} Calculate: $ 8 \cdot 11 = \RespBoxMath{88}{1}{.0001}{[0,1]}$ +\item\PTs{4} From the list below, select the mathematicians recognized as the originators of Calculus. +\begin{manswers}{4} +\bChoices + \Ans1 Newton\eAns + \Ans0 Gauss\eAns + \Ans1 Leibniz\eAns + \Ans0 Banach\eAns +\eChoices +\end{manswers} +\end{questions} +\end{quiz*}\quad\PointsField\currQuiz\olBdry\CorrButton\currQuiz + + +\medskip\noindent\sooField{1in}{11bp}\olBdry\clearAllField{}{11bp} +\end{document} diff --git a/macros/latex/contrib/eq-save/examples/eqsave-noname.pdf b/macros/latex/contrib/eq-save/examples/eqsave-noname.pdf new file mode 100644 index 0000000000..5ec4b41a8c Binary files /dev/null and b/macros/latex/contrib/eq-save/examples/eqsave-noname.pdf differ diff --git a/macros/latex/contrib/eq-save/examples/eqsave-noname.tex b/macros/latex/contrib/eq-save/examples/eqsave-noname.tex new file mode 100644 index 0000000000..4ec47d6c08 --- /dev/null +++ b/macros/latex/contrib/eq-save/examples/eqsave-noname.tex @@ -0,0 +1,124 @@ +\documentclass{article} +\usepackage[fleqn]{amsmath} +\usepackage{web} +\usepackage{exerquiz} +\usepackage[!devmode]{eq-save} +\usepackage[ImplMulti]{dljslib} + +\def\lfootScore{\sField{.25in}{11bp}} +\def\lfootOutOf{\ooField{.25in}{11bp}} +\def\rfootPtsScore{\psField{.25in}{11bp}} +\def\rfootPtsOutOf{\pooField{.25in}{11bp}} + +\lfooter{Score {\lfootScore} out of {\lfootOutOf}} +\rfooter{Points {\rfootPtsScore} out of {\rfootPtsOutOf}} + + +\previewOff +\sqTurnOffAlerts +\PTsHook{($\eqPTs^{\text{pts}}$)} + +\parindent0pt + +\begin{document} + + +\begin{center}\bfseries\large + Demonstrating the \texttt{eq-save} package\\ + No Gatekeeper commands present\\[3pt] + \normalfont\normalsize Herr Dr Prof Story +\end{center} + +Answer some of the questions, save the document, then reopen it and continue +the `worksheet'. The tallies should continue from the values current at the +time the document was saved.\medskip + +\begin{oQuestion}{oQ1} +It is well known that $ 1 + 16 = \RespBoxMath{17}{1}{.0001}{[0,1]}$ +\end{oQuestion} + +\begin{shortquiz*}[sQ1] +Solve each of the following without error. +\begin{questions} + +\item Calculate: $ 8 \cdot 11 = \RespBoxMath{88}{1}{.0001}{[0,1]}$ +\item Enter the \emph{last name} of the Herr Dr Prof of this course. +\[ + \text{The Herr Dr Prof is }\RespBoxTxt{1}{0}{1}{Story} +\] + \item Which of the following is true +\begin{answers}{4} +\bChoices + \Ans1 true\eAns + \Ans0 false\eAns +\eChoices +\end{answers} +\item From the list below, select the mathematicians recognized as the originators of Calculus. +\begin{manswers}{4} +\bChoices + \Ans1 Newton\eAns + \Ans0 Gauss\eAns + \Ans1 Leibniz\eAns + \Ans0 Banach\eAns +\eChoices +\end{manswers} +\end{questions} +\end{shortquiz*} + + +\useBeginQuizButton +\useEndQuizButton + +\begin{quiz*}{qz1} +Solve each without error. +\begin{questions} + \item Which of the following is true +\begin{answers}{2} + \Ans1 true & \Ans0 false +\end{answers} +\item Calculate: $ 8 \cdot 11 = \RespBoxMath{88}{1}{.0001}{[0,1]}$ +\item From the list below, select the mathematicians recognized as the originators of Calculus. +\begin{manswers}{4} +\bChoices + \Ans1 Newton\eAns + \Ans0 Gauss\eAns + \Ans1 Leibniz\eAns + \Ans0 Banach\eAns +\eChoices +\end{manswers} +\end{questions} +\end{quiz*}\quad\ScoreField\currQuiz\olBdry\CorrButton\currQuiz + + + +\newpage + +The quiz on this page has points associated with each question, the points are tabulated separately, +and entered into the fields in the right footer. The questions above are figured in as 1 point each. + +\begin{quiz*}{qz2} +Solve each without error. +\begin{questions} + \item\PTs{2} Which of the following is true +\begin{answers}{2} +\bChoices + \Ans1 true\eAns + \Ans0 false\eAns +\eChoices +\end{answers} +\item\PTs{3} Calculate: $ 8 \cdot 11 = \RespBoxMath{88}{1}{.0001}{[0,1]}$ +\item\PTs{4} From the list below, select the mathematicians recognized as the originators of Calculus. +\begin{manswers}{4} +\bChoices + \Ans1 Newton\eAns + \Ans0 Gauss\eAns + \Ans1 Leibniz\eAns + \Ans0 Banach\eAns +\eChoices +\end{manswers} +\end{questions} +\end{quiz*}\quad\PointsField\currQuiz\olBdry\CorrButton\currQuiz + + +\medskip\noindent\sooField{1in}{11bp}\olBdry\clearAllField{}{11bp} +\end{document} -- cgit v1.2.3